Live data from Hacker News

Swimlanes.io – generated editable sequence diagrams

swimlanes.io

81–90 of 114 posts

Re: Swimlanes.io – generated editable sequence diagrams

#81
post #51

Earlier quoted context omitted.

Much appreciated. That still does network requests and I wasn't able to make it work fully offline after downloading all the assets, but pretty nice nonetheless.

Really? I downloaded the js file linked and set up an index.html with that snippet. The only requests being made were for FontAwesome stuff which you could also download and change the references to in that `embed.js`.

Yeah, I gave up at changing the minified JavaScript, and would still prefer a saner and official offline solution from the author.

But it's not a request, I doubt I'll ever use this because of my initial points. If it was a CLI tool that converted plain text input to image I'd consider trying it out.

Re: Swimlanes.io – generated editable sequence diagrams

#83
Diagrams seem to be on everybody's mind recently ;)

Question: are there any good tools to automatically represent (almost) any code as diagrams?

Use case: I wrote a pretty complex simulation in Python, which is a little hard to explain to my colleagues. I would like to have, e.g., a sequence or a swimlane diagram to help others understand what is going on. I would like this diagram to be automatically generated by other software (IDE extension, plugin, package, etc.).

Would you have any suggestions?

Re: Swimlanes.io – generated editable sequence diagrams

#84
post #41
post #5

Prior art: 1. Plant UML: http://www.plantuml.com/plantuml/umla/SoWkIImgAStDuNBCoKnELT... PlantUML supports many diagram types, and there's a nice VS Code plugin with side by side live preview. 2. https://www.websequencediagrams.com/ Has a hand-drawn style option which is nice: https://i.imgur.com/lh4jaVL.png

collated these diagramming tools here: https://github.com/sw-yx/spark-joy/blob/master/README.md#gen...

Here's one I didn't see on your list:

https://wavedrom.com/

Re: Swimlanes.io – generated editable sequence diagrams

#85
post #47
post #5

Prior art: 1. Plant UML: http://www.plantuml.com/plantuml/umla/SoWkIImgAStDuNBCoKnELT... PlantUML supports many diagram types, and there's a nice VS Code plugin with side by side live preview. 2. https://www.websequencediagrams.com/ Has a hand-drawn style option which is nice: https://i.imgur.com/lh4jaVL.png

Plantuml plugin within Confluence is pretty nice for documentation, and arguably a super-power because it makes it easier to make good docs ("a picture is worth a thousand words"). The source shows up in edit mode (no external app needed; and it's always correct) and it handles the rendering for you, thus reducing friction. In other places I've seen people attach a PNG. If you're lucky, they've also attached the corr…

Big fan of PlantUML, didn't occur to me that there'd be Confluence plugins. Which one are you using?

Re: Swimlanes.io – generated editable sequence diagrams

#86

https://mscgen.js.org/

Could have a better new-user experience.

1. Load an example you can play with to start so you can see what the product does

2. In the examples dropdown, use meaningful names instead of obscure acronyms

3. Make the top example serious instead of some cutesy nose flute thing with made-up onomatopoeia labels

Re: Swimlanes.io – generated editable sequence diagrams

#87
post #65
post #8

Earlier quoted context omitted.

MermaidJS is also a good alternative: https://mermaid-js.github.io/mermaid-live-editor/

GitLab has mermaid support in its markdown https://docs.gitlab.com/ee/user/markdown.html#mermaid

So does Wiki.js [1]. Pretty fancy.

[1] https://docs.requarks.io/editors/markdown#mermaid-diagrams

Re: Swimlanes.io – generated editable sequence diagrams

#88

I would really like a sequence diagram that allow for diagonal arrows, not just horizontal ones. A message takes time to arrive to its destination and sometimes it's interesting what else could happen during this time, for example the backend sending another response to the requester. Also requests don't arrive to the destination in the exact order they where made. All of these are impossible to represent with horizo…

Apparently https://sequencediagram.org/ is what you want. It has "non-instantaneous message"

It doesn't quite do what was asked, while it handles angled lines, it doesn't seem to support overlapping angled lines, which in comms systems is common

Re: Swimlanes.io – generated editable sequence diagrams

#89
post #5

Prior art: 1. Plant UML: http://www.plantuml.com/plantuml/umla/SoWkIImgAStDuNBCoKnELT... PlantUML supports many diagram types, and there's a nice VS Code plugin with side by side live preview. 2. https://www.websequencediagrams.com/ Has a hand-drawn style option which is nice: https://i.imgur.com/lh4jaVL.png

i prefer sequencediagram.org

no upsell and pretty full featured. developer is responsive (i’ve had a couple minor things addressed).

most importantly you can export to svg. then i load into inkscape if i need a tweak for publication

Post reply on HN