Cannot read properties of null
jderekito opened this issue · 2 comments
jderekito commented
Hello,
When I put a single line in http://flowchart.js.org/ such as:
sub1=>subroutine: My Subroutine
I get error of "Cannot read properties of null."
cdfmlr commented
You're right, you can't generate a flowchart with only a single node. To create a flowchart, you need at least two nodes. Here's an example:
sub1=>subroutine: My Subroutine
another=>subroutine: Another node
sub1->another
jderekito commented
Thanks, I was not aware of that.
Cheers,
Derek