Jollywatt / typst-fletcher

Typst package for drawing diagrams with arrows, built on top of CeTZ.
MIT License
393 stars 8 forks source link

How to make a diagram fit to page #58

Open purpl3F0x opened 2 weeks ago

purpl3F0x commented 2 weeks ago

Hello, how can i make a diagram auto-fit inside the page area ?

Jollywatt commented 2 weeks ago

Not sure, it isn't supported directly as an option. But maybe we could add width/height options to diagram() as an alternative to specifying the cell sizes, and these could be made to take auto.