Live data from Hacker News

Swimlanes.io – generated editable sequence diagrams

swimlanes.io

101–110 of 114 posts

Re: Swimlanes.io – generated editable sequence diagrams

#101

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 ot…

wouldn’t you need to use a call graph generator? like cscope but for python? here’s a ref to get you started: https://stackoverflow.com/questions/517589/tools-to-get-a-pi...

Thanks! That's the keyword I was looking for!

(If any Python person is reading it, please share your recommendations.)

Re: Swimlanes.io – generated editable sequence diagrams

#102

Pretty cool. I was hoping to see a swim lane diagram? Could you add that as a feature? Then I can share it with some business analysts who love that kind of thing. https://en.wikipedia.org/wiki/Swim_lane

Interesting, I've always referred to UML sequence diagrams as swimlanes, and it seems I'm not alone in making this mistake.

In UML parlance, you're looking for partitioned activity diagrams. These are, in fact, "true" swimlane diagrams. Hmm!

https://www.uml-diagrams.org/

Re: Swimlanes.io – generated editable sequence diagrams

#103
Why not use Mermaid (JS => SVG) or PlantUML (Java => SVG, PNG, etc)?

Especially Mermaid [1] is supported by a lot of Markdown editors and can be directly rendered in browsers by including the javascript library. Without any data protection issues.

PlantUML needs a server or an installation (Java) which can be self hosted as well. And provides a ton of integrations [2]. And of course it supports sequence diagrams [3]

[1] https://mermaid-js.github.io/mermaid/#/sequenceDiagram

[2] https://plantuml.com/en/running

[3] https://plantuml.com/en/sequence-diagram

Re: Swimlanes.io – generated editable sequence diagrams

#105
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

Mermaid became quite a common markdown feature. It is supported in a lot of places already. It can easily be integrated as it is pure client side javascript.

Re: Swimlanes.io – generated editable sequence diagrams

#107
post #72
post #41

Earlier quoted context omitted.

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

Thanks. Please do identify when they're open source -- I have been bitten by filling a small app of unknown longevity with my system diagrams and flowcharts, only to have it disappear.

ouch. at this point itd take a long time for me to backfill that info but will try going fwd

Re: Swimlanes.io – generated editable sequence diagrams

#108
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…

Logged in specifically to agree and upvote this comment!

- on-demand preview of changes before i hit save

- source code is always embedded with the diagram and anyone can reference and edit

- source controlled history via confluence history

I've used mermaid extensively but ultimately abandoned it because it didn't have a good flow for sharing the source and history. Confluence + PlantUML is a great solution.

Re: Swimlanes.io – generated editable sequence diagrams

#109

where is the privacy policy? I cannot use this for work without reading that.

data is local to your browser. it doesn’t need a privacy policy.

I see that. But without privacy policy, they cannot be held accountable for changes that can be introduced later on. I checked that there are no backend communication and there are no open websockets. But still kind of scary to use this without a clear Privacy Policy. I love the product by the way :)

Re: Swimlanes.io – generated editable sequence diagrams

#110
post #88

Earlier quoted context omitted.

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

Well, if you really want to, you can do it:

Alice->(5)Bob:message1

space -6

Alice(4)<-Bob:the other\nmessage

Post reply on HN