terrastruct / d2

D2 is a modern diagram scripting language that turns text to diagrams.
https://d2lang.com
Mozilla Public License 2.0
17.08k stars 422 forks source link

sequence_diagram: shapes & sizes #1242

Open bo-ku-ra opened 1 year ago

bo-ku-ra commented 1 year ago

https://play.d2lang.com/?l=&script=AnvLSqE4tbA0NS85NT4lMzG9KDGXq0JB106hkqtCLy-_KDcxh6tSryQ_X6E4NzEnx0qhGqoLZG8tF1eVXkFqUXF-HkICwq8FySQWJebkpObkg0xFUoAsXMsFCAAA__8%3D&

alixander commented 3 months ago

@bo-ku-ra do you remember what this used to be? Sorry

bo-ku-ra commented 3 months ago

@alixander unfortunately, i don't remember.

for example

shape: sequence_diagram;

a{shape:person}
b
c
d{shape:text}

https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwvSsy15uXi5UqshsgWpBYV5-fV8nIl8XIl83KlQIVLUitKarkAAQAA__8%3D&

'shape:person' is too big and 'shape:text' is too small

https://play.d2lang.com/?script=Ui7OSCxItVIoTi0sTc1LTo1PyUxML0rM5eJKtFKohkoWpBYV5-fVciVxJXOlIIRLUitKarkAAQAA__8%3D&