Closed alixander closed 1 month ago
this is off topic.
i find it difficult to write the big d2 sequence diagrams. why do i have to define the span names in the sequence diagram? the span names don't appear in svg files. (mermaid is automatically uses + and -)
@bo-ku-ra I think it contributes logically.
Spans mean something logically, even if the labels don't appear. E.g. some process.
i am annoyed by the many tasks of giving appropriate names that are not displayed.
I think Mermaid's is much less readable. I understand the annoyance at having to come up with names, but I will defer to our decision decisions: https://d2lang.com/tour/design/#readability--prototyping-speed
@alixander thank you for your explanation.
i understand readable is a must. but i feel the difficulty of writeable(easy to write). the cause is span name is not displayed. (the span name will be collision with another names.) if d2 has span name display option, i am not annoyed. (e.g. tip help?)
gitGraph TB:
commit id:"tip help"
commit id:" "
could you note the 'd'. it is difficult to understand what happened to the colliding 'd'. (much less readable)
https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwvSszlSuRK4krm4krUS1HQtVNI4gIEAAD__w%3D%3D&
If the span name is displayed by default, it forces people to give them readable labels, which is different from readable variable names. You can make a separate issue to have spans give some tooltip or label, but that's a separate issue
ok, never mind...
this looks a little squished