News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by mrWiz on Monday July 24, 2023 @10:29AM (#36848571)
I really like using Mermaid to create state diagrams. I'd been looking for a tool like it for quite some time, and I think it slipped under my radar because it's more focused on sequence / flow diagrams and doesn't hype its state diagram capabilities as much. Using a text-based tool for this is so much better than my previous workflow of Visio or Powerpoint.
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by giraffe_lady on Monday July 24, 2023 @11:05AM (#36849181)
Last time I tried this it unnecessarily crossed a lot of the arrows between states. Turned a diagram of a moderately complex real world SM into an incomprehensible tangle even to developers familiar with the actual implementation. Does it still do that?
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by mrWiz on Monday July 24, 2023 @04:06PM (#36853501)
I haven't run into that, but maybe that's just because I haven't tried anything too complex yet.
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by chrisweekly on Monday July 24, 2023 @11:20AM (#36849436)
Have you seen xstate's visualizer? https://xstate.js.org/viz/
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by mrWiz on Monday July 24, 2023 @04:07PM (#36853511)
I hadn't seen that, thanks for the link.
Re:The Unreasonable Effectiveness of Sequence Diagrams in Me... by davidkpiano on Tuesday July 25, 2023 @08:23AM (#36861223)
Thanks for sharing! There's an updated viz at https://stately.ai/viz but that will soon be fully part of the studio at https://state.new (which can export to Mermaid now and PlantUML soon!)