Merge pull request #48 from terrastruct/v0.3.8

v0.3.8
This commit is contained in:
Alexander Wang 2023-06-02 20:21:31 -07:00 committed by GitHub
commit afbcd35196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
#### Features 🚀
- Containers respect `width` and `height` settings, though they will expand to fit content if needed
#### Improvements 🧹
- Node placement is up to 2x faster
- Avoids overlapping edges when they have different arrowheads
- `direction` keyword now affects bidirectional edges
- Spacing between nodes ensures that labels will fit
- Edges stick to outer bounds of shapes with `3d` or `multiple`
- Improves layouts for clusters with both icons and labels
- Improves edge balancing to look more symmetrical
#### Bugfixes ⛑️
- Fixes shape and connection labels potentially overlapping arrowhead labels
- Fixes a bug with arrowhead labels on the `-` end of a connection
- Fixes container shapes sometimes swapping positions with another shape errantly