Update dependency flowchart.js to v1.15.0 (#680)

* Update dependency flowchart.js to v1.15.0

* Remove custom types

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Adjust code to new types

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
renovate[bot] 2020-10-17 18:50:08 +02:00 committed by GitHub
parent a9130aedb8
commit 8e60c1750f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 22 deletions

View file

@ -27,7 +27,7 @@ export const FlowChart: React.FC<FlowChartProps> = ({ code }) => {
parserOutput.drawSVG(currentDiagramRef, {
'line-width': 2,
fill: 'none',
'font-size': '16px',
'font-size': 16,
'line-color': darkModeActivated ? '#ffffff' : '#000000',
'element-color': darkModeActivated ? '#ffffff' : '#000000',
'font-family': 'Source Code Pro, "Twemoji Mozilla", monospace'