Live data from Hacker News

Generate Flowcharts from Text

flowchart.fun

1–10 of 135 posts

Re: Generate Flowcharts from Text

#5
post #4

I’m surprised the line-number references don’t auto-adjust when inserting/splitting/joining lines. That’s not very practical.

I totally had this thought too when making it. The logic is super simple as-is, so I was scared if I went down the rabbit whole of trying to auto increment/decrement line numbers I might muddy things up. I'll see if add that functionality cleanly at some point (or if you'd like to feel free to take out a PR!) Thanks for the feedback!

Re: Generate Flowcharts from Text

#8
post #5
post #4

I’m surprised the line-number references don’t auto-adjust when inserting/splitting/joining lines. That’s not very practical.

I totally had this thought too when making it. The logic is super simple as-is, so I was scared if I went down the rabbit whole of trying to auto increment/decrement line numbers I might muddy things up. I'll see if add that functionality cleanly at some point (or if you'd like to feel free to take out a PR!) Thanks for the feedback!

alternatively you could link to nodes by referencing their label? You might just also want an option to not render that label (ie have it be for the writer's benefit only).

Re: Generate Flowcharts from Text

#9
post #5

Earlier quoted context omitted.

I totally had this thought too when making it. The logic is super simple as-is, so I was scared if I went down the rabbit whole of trying to auto increment/decrement line numbers I might muddy things up. I'll see if add that functionality cleanly at some point (or if you'd like to feel free to take out a PR!) Thanks for the feedback!

alternatively you could link to nodes by referencing their label? You might just also want an option to not render that label (ie have it be for the writer's benefit only).

like graphviz does

Re: Generate Flowcharts from Text

#10
This is really simple but edge from 6 to 1 should not cross node 4 in the visualization. Also it would be useful to show how to escape or if escaping works at all: how to escape ":" or "(1)"? multiline?
Post reply on HN