Added flowchart diagrams (#510)

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Philip Molares 2020-08-29 23:56:27 +02:00 committed by GitHub
parent d482065d72
commit 33648f1645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1,13 @@
declare module 'flowchart.js' {
type Options = {
'line-width': number,
'fill': string,
'font-size': string,
'font-family': string
}
type ParseOutput = {
clean: () => void,
drawSVG: (container: HTMLElement, options: Options) => void,
}
export const parse: (code: string) => ParseOutput
}