terrastruct / d2

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

border-radius of shape:callout #1185

Open bo-ku-ra opened 1 year ago

bo-ku-ra commented 1 year ago

https://play.d2lang.com/?l=&script=Qg4_K0Ou5HwrJXWw96ySE3Ny8ktL1BVyS4tLFDISy1IV1MHu0UNJF-p6StUQDQpQHdYKWJRZKRgZWNdyJVpBFRekFhXn59UqKCsg8xUyixVK8vMV0hJL9LgAAQAA__8%3D&

alixander commented 1 year ago

the grid doesn't have anything to do with it right? shape:callout just doesn't have border-radius

bo-ku-ra commented 1 year ago

oh, this is impossible. i see.

alixander commented 1 year ago

no it should be possible for sure.

bo-ku-ra commented 1 year ago

i wanted to say that a callout and a person will be fruently combining within the grid by d2 users.

alixander commented 1 year ago

@bo-ku-ra oh! i never thought of that. that's such a creative use case. hmm i wonder what can be done here...

bo-ku-ra commented 1 year ago

and..

like TARA when "grid-gap:0" https://play.d2lang.com/?l=&script=goWqlYIBFzxkrRQMuSqsFKrBfrZSAPmqlqsSXYALEAAA__8%3D&layout=dagre&

grid-gap: 0
grid-rows: 1
x: {shape: step}
y: {shape: step}

https://play.d2lang.com/?l=&script=4qqwUqgG-81KAeT6Wq5KdIEKBV1dhUouQAAAAP__&layout=tala&