adrai / flowchart.js

Draws simple SVG flow chart diagrams from textual representation of the diagram
http://flowchart.js.org/
MIT License
8.48k stars 1.21k forks source link

Where did box 5 go? #253

Open ndomaingue opened 4 weeks ago

ndomaingue commented 4 weeks ago

Hello, I have written a simple box diagram using your Flowchart code, but for some reason box5 is not rendering. Please can you advise?

Regards, Nigel

`box1=>parallel: System box 1 Is there a comment method? box2=>parallel: System box 2 Organising boxes looks like a great way to document systems and incorporate hyperlinks. box3=>parallel: System box 3 The lines have been whited out so that they are hidden. box4=>parallel: System box 4 Oops, Where did box 5 go? box5=>parallel: System box 5

box1(path1,bottom)->box2 box1(path2,right)->box3 box3(path3, right)->box4 box4(path4, bottom)->box5

box1@>box2({"stroke":"White"}) box1@>box3({"stroke":"White"}) box3@>box4({"stroke":"White"})`

image

ndomaingue commented 4 weeks ago

OK, I solved it by systematically changing the pathx values, so what are the rules on how to label components?

`box1=>parallel: System box 1 Is there a comment method? box2=>parallel: System box 2 Organising boxes looks like a great way to document systems and incorporate hyperlinks. box3=>parallel: System box 3 The lines have been whited out so that they are hidden. box4=>parallel: System box 4 Oops, Where did box 5 go? It should be below me. box5=>parallel: System box 5 box6=>parallel: System box 6

box1(path1,bottom)->box2 box1(path2,right)->box3 box3(path3,right)->box4 box4(path1,bottom)->box5 box4(path2,right)->box6

box1@>box2({"stroke":"White"}) box1@>box3({"stroke":"White"}) box3@>box4({"stroke":"White"}) ` image