typst-fletcher
typst-fletcher copied to clipboard
Allow dictionary-valued of inset/outset/stroke/radius à la typst's `box`
What kind of diagram are you wanting to make? Any and all, really.
Idea or feature request
I often find myself in situations where I wish I could just bump the inset/outset at the bottom of a node out a bit, just want a border stroke along the top-edge, etc. When using the box command in plain typst, I can easily achieve this via dictionary valued insets/outsets/strokes/radii (e.g., (x: …, top: …, rest: …)). But as far as I can tell, fletcher doesn't support similar behavior itself.
Alternatives you've considered One could place a box within a node and use these features through the box. But, this leads to the node's own inset/outset/etc. needing to be balanced against the settings of the box, which is very tedious to say the least.
Yes, I've found myself wanting to individually adjust insets more than a few times now. This feature would be very appreciated
I totally agree! The workarounds to compensite are really nasty.