News for hackers. Stuff that matters.
Re:Generate Flowcharts from Text by tonerow on Monday March 01, 2021 @11:34AM (#26304512)
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 by seph-reed on Monday March 01, 2021 @02:19PM (#26306956)
Id's would be more than good enough, and super easy to implement. Something like this

   1. hello
   2.   [foo] This line is Foo
   3.   This line is Bar and connects to Foo
   4.     (foo)
Re:Generate Flowcharts from Text by tonerow on Monday March 01, 2021 @02:34PM (#26307194)
Oh, I like this implementation a lot! I'll paste it into github issue so I don't forget
Re:Generate Flowcharts from Text by beaconstudios on Monday March 01, 2021 @11:42AM (#26304634)
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 by tonerow on Tuesday March 02, 2021 @09:31AM (#26315661)
added the concept of node ids and linking directly to them last night! now you can do something like

  [custom id] hello world
   child 1
    child 2
     (custom id)
Re:Generate Flowcharts from Text by beaconstudios on Tuesday March 02, 2021 @09:37AM (#26315728)
Nice - that's a great feature. I'm working on a graph based project and have to semi regularly visualise different kinds of directed graph and your project could really come in handy!
Re:Generate Flowcharts from Text by mooneater on Monday March 01, 2021 @11:43AM (#26304655)
like graphviz does
Re:Generate Flowcharts from Text by monstersinF on Monday March 01, 2021 @12:39PM (#26305520)
Let the user create their own labels?