d2 icon indicating copy to clipboard operation
d2 copied to clipboard

node dimensions should expand by default to fit custom icon & label positions

Open alixander opened this issue 1 year ago • 0 comments

long label: {
  icon: https://icons.terrastruct.com/essentials%2F213-alarm.svg
  icon.near: center-left
  label.near: center-center
}

Screenshot 2024-06-05 at 1 07 26 PM

https://play.d2lang.com/?script=VI0xCgJBDEX7OUUay53BtZsDeI8Y4rqQzUjytRHvLrI2Vp_Pg_ds-ELGF7VOr0K0yvBON-CevbXvywqN4EQ8BFXG1jRTHStbHubzfDxNbBxbzefyE1RXjk6iDo3J9IpCe-Sf7FPe5RMAAP__&layout=elk&

alixander avatar Jun 05 '24 19:06 alixander