Skip to content

Commit 3191247

Browse files
Add maxWidth to the example configuration options
I spent ages trying to debug your code so that I could control the line length to the right that seems to double after each condition whether there is nesting or not. After about 20 minutes of no luck (code formatting? comments? lol) I found maxWidth and it solved my problem without having to go further.
1 parent 2630d6b commit 3191247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
// 'x': 30,
3030
// 'y': 50,
3131
'line-width': 3,
32+
'maxWidth': 3,//ensures the flowcharts fits within a certian width
3233
'line-length': 50,
3334
'text-margin': 10,
3435
'font-size': 14,

0 commit comments

Comments
 (0)