[HN Gopher] Ask HN: Do you have a setup for drawing sequence dia...
___________________________________________________________________
Ask HN: Do you have a setup for drawing sequence diagrams with
draw.io?
Do you have a setup or preferences for drawing sequence diagrams
with draw.io? What settings work best for you?
Author : thisisabug
Score : 9 points
Date : 2022-12-11 20:44 UTC (2 hours ago)
| officialchicken wrote:
| Draw a skinny vertical rectangle - this will be the lifetime line
| of the class. Go to the properties panel on the bottom right of
| the window, select 'add anchor points' under the 'edit' dropdown.
| I find 5-8 on the left works well. Then edit the rectangle so
| that it's only pixel wide (drag, edit, etc.) and set the width to
| one and linetype dashed. Drag this entity to your toolbar for
| reuse now and in the future. Now you can attach arrows to any of
| the anchor points.
| rektide wrote:
| Apologies for not answering the question, but, wow after doing a
| couple diagrams in mermaid.js, I've found it to be so much easier
| & better than everything else I've ever done. Write what you want
| in text & it does the work to lay it out.
|
| https://mermaid-js.github.io/mermaid/#/
| alixanderwang wrote:
| D2's a new diagramming language just added sequence diagrams
| too: https://d2lang.com/tour/sequence-diagrams. (disclaimer: i
| work on this)
| mdaniel wrote:
| I agree with this response[1]: draw.io is the wrong level of
| abstraction for sequence diagrams, in my opinion. It'd be like
| asking how to make sequence diagrams in Google Slides:
| possible, but crazy
|
| 1: although in my specific case, I get more utility out of
| PlantUML but same-same
___________________________________________________________________
(page generated 2022-12-11 23:02 UTC)