3 ms·
I was looking for some programatic way to create sequence diagrams and came across plantuml, but then I realised it sends your data to their servers so, while I
by hashtag-til 3y ago
I was looking for some programatic way to create sequence diagrams and came across plantuml, but then I realised it sends your data to their servers so, while I can use for my personal projects, not using for company stuff.
Are there any other options to keep sequence diagrams as code and just render it on demand?
Edit: http://blockdiag.com/en/seqdiag/examples.html http://blockdiag.com/en/seqdiag/examples.html seems to do what I'm looking for.
- Datagenerator 3y agoYou can create Plantuml diagrams without the server locally using this small Docker ( https://github.com/lrvl/text-to-bmp https://github.com/lrvl/text-to-bmp ) and use "make docker-plantuml"
- fhd2 3y agoYou can just download the plantuml.jar and run it with `java -jar planting.jar`, that's how I usually work with it.
- hashtag-til 3y agoThat sounds like a good idea. Just seen they have a Docker image as well. https://hub.docker.com/r/plantuml/plantuml-server https://hub.docker.com/r/plantuml/plantuml-server
- sanitycheck 3y agoPlus a bunch of plugins for VS Code and major IDEs. One thing I always seem to hit is the default diagram size/memory limits, the FAQ on plantuml.com has command-line switches to override those.
- ink_13 3y agoIndeed there is: https://www.websequencediagrams.com/ https://www.websequencediagrams.com/
- Fethbita 3y agoYou can deploy a plantuml server internally (so that the rendering is done internally). Just running planuml.jar does not send anything to their servers either, it renders diagrams locally.
- maho 3y agoI really like https://sequencediagram.org/ https://sequencediagram.org/ - syntax is really close to PlantUML - it's rendered in the browser -> immediate feedback - great autocomplete and syntax-check in the code editor - great connection between graphic and text (click on element -> jump to relevant line) - graphical drawing and reordering - presentation view (fullscreen + keeps actors "sticky" on top) Especially dragging/dropping actors around is a lot of fun when you try to find the most suitable presentation format for complex diagrams. I'm not aware of any other editor that has this good integration between the code-editor and the visual editor. It's not open source, but it's been around for free for a long time.