cdfmlr/pyflowchart

Cannot read properties of null

jderekito opened this issue · 2 comments

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."

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

Thanks, I was not aware of that.
Cheers,
Derek