News for hackers. Stuff that matters.
Re:Python Generated Sequence Diagrams by rgoulter on Saturday May 23, 2020 @07:32AM (#23282098)
While it's good to see the results you can get from familiarity with imagemagick drawing commands and a small script,

for more sophisticated scenarios (or customisation), you can still get "rendered from text on my computer" using tools like PlantUML. (Or GraphViz for graphs, etc.).

Embedding the resulting diagrams in the text editor (like Emacs' org-babel allows for) makes for a nice diagramming experience.

Re:Python Generated Sequence Diagrams by lipeltgm on Sunday May 24, 2020 @11:14AM (#23292060)
Agreed and for a few years now that's what I have done. But for detailed, log/debug driven sequence diagrams that often required parsing a log, generating a compliant text-input to the tools followed by submitting to the tool and exporting the graphic. This 30-minute project is a step in the direction to fully automate the process.
Re:Python Generated Sequence Diagrams by smitty1e on Saturday May 23, 2020 @08:35AM (#23282418)
That's an excellent point.

While we should reach for prior art, something like this bit of python is good for the hip pocket for those moments when PlantUML might not support some zany requirement.