Set background or alternative colors for diagrams (#667)

This commit is contained in:
mrdrogdrog 2020-10-13 20:58:39 +02:00 committed by GitHub
parent d5ee2f6d54
commit 8a8c043081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 5 deletions

View file

@ -3,11 +3,14 @@ declare module 'flowchart.js' {
'line-width': number,
'fill': string,
'font-size': string,
'font-family': string
'font-family': string,
'font-color': string,
'line-color': string,
'element-color': string
}
export interface ParseOutput {
clean: () => void,
drawSVG: (container: HTMLElement, options: Options) => void,
drawSVG: (container: HTMLElement, options: Partial<Options>) => void,
}
export function parse(code: string): ParseOutput
}