-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control spacing between individual grid cells #47
Comments
Right, I guess that works. I wanted to keep the vertical edge exactly in the middle between the nodes, is that still possible here without eyeballing the fraction?
Indeed, maybe this style is better here. However, it has a bit of an inverse problem: I feel like now I want to ever so slightly reduce the spacing between "Base network" and "MSE" on this example, since the top and bottom arrows make it look a bit wider. |
Hmm. I can't come up with an automatic way with the current features. It would be great if it were possible to use cetz anchors like Even without that, though, it might be good to allow grid spacings to be individually controlled. I'll make this a feature request. Any thoughts on how you'd want the syntax to be? |
I was thinking, maybe similar to built-in Typst grid and table row-gutter/column-gutter? Where you can pass one number to set all, or pass an array of numbers to set each one individually. Or even like align where you can also pass a function that takes the X, Y position and returns the value. |
Hi, I'm just trying out cetz and fletcher, and it feels really good! But I've hit this difficult case.
I'm making a flowchart where I need to merge two arrows:
The connection where the two arrows merge visually looks much wider than necessary. Since there's no node there, all that width comes from 2 × spacing:
I'd like to reduce spacing specifically around that column at x=2.
The text was updated successfully, but these errors were encountered: