d2 icon indicating copy to clipboard operation
d2 copied to clipboard

render: support width/height on shapes

Open gavin-ts opened this issue 3 years ago • 0 comments

Summary

Support setting width/height on non-image shapes.

Details

  • fixes #497
  • added e2e test with width/height
  • width/height can now be set on shapes other than images
  • for sql_table, class, text the dimensions can only grow
  • for containers, width and height end up ignored
  • TODO code

e2e test

report

gavin-ts avatar Dec 22 '22 03:12 gavin-ts