Open tarnished-dodo opened 2 weeks ago
I agree this should be implemented, but it might be a release cycle or two before I get to it. Thank you for the clear issue report
use the ‘--force-appendix’ option.
example 4: {
shape: sequence_diagram
Browser: Web Browser
Server: Web Server
DB: Database
Browser -> Server.tip1: HTTP GET /
Server -> DB.tip2: Fetch homepage data
DB -> Server.tip3: Homepage data
Server -> Browser.tip4: HTTP 200 O
Server.tip1: {tooltip: Send request to load homepage}
DB.tip2: {tooltip: Database processes the query}
Server.tip3: {tooltip: Database sends data back to server}
Browser.tip4: {tooltip: Browser receives the homepage HTML}
}
related issues
and
I want to make a converter for converting plantuml to d2 code and I encountered a difference for the usage of notes. In plantuml you can use notes on actors and connections. D2 on the other hand only allows notes for actors. I will now provide one example in plantuml, one in d2 and two workarounds for d2 which work but aren’t optimal:
plantuml
d2 notes
The problem here is that it’s hard to tell which note belongs to which and if you don’t know it you won’t immediately think that it belongs to the connections.
d2 workaround 1
The problem with this workaround is that there’s too much text on the connections. I could also use line breaks but it would still look less clean.
d2 workaround 2
This workaround keeps the connections clean but the separate box with the explanations takes up alot of space.
Conclusion
Does anybody have another workaround or is there maybe something planned that would fix this problem?