Closed michii-h closed 8 months ago
Thanks, this looks like a good quick fix!
Obviously, it raises the question: what about other shapes? I've been thinking of giving the user a way to draw custom node shapes directly with CeTZ, but I want edges to still automatically snap to the outline.
If custom node shapes happen, then that would replace this, but until then it's probably good to have.
Just saw that you implemented custom shapes with CeTZ now, so I guess I'll close the pull request :)
I added a new node shape (diamond), which can be useful for flowcharts. It may need some sizing adjustments though.