Releases: 1jehuang/mermaid-rs-renderer
Releases · 1jehuang/mermaid-rs-renderer
Release list
v0.3.1
v0.3.0
v0.2.2
v0.2.1
Fix ampersand in node labels splitting parallel-edge nodes incorrectly
Naive .split('&') was used to separate parallel-edge sources/targets,
which also split on '&' inside quoted/bracketed node labels such as:
A["reads artifacts & computes deps"] --> B
Add split_on_ampersand(), which reuses the existing mask_bracket_content()
to blank quoted/bracketed content before scanning for '&' separators.
Because mask_bracket_content preserves byte positions, split positions
found in the masked string are applied directly to the original string.
Both call sites (flowchart edges and block-diagram edges) are updated.
Five new unit tests cover: plain split, label-only ampersand, mixed,
full parse with label ampersand, and parallel-edge + label ampersand.
v0.2.0
Add white backgrounds to benchmark SVG charts Transparent SVGs showed invisible black text on GitHub dark theme. Add white background rects to comparison.svg and breakdown.svg, and fix bench_compare.py to include backgrounds in generated charts. Also update chart data to v0.2.0 benchmark numbers.
v0.1.3
v0.1.2
v0.1.1
What's New
Performance
- Native layout algorithms for state/class diagrams (force-directed) and flowcharts (layered)
- 750-1080x faster than mermaid-cli
Features
- Smooth bezier edge curves
- Edge anchoring to shape boundaries
- Sequence diagram notes support
- Optional features for minimal library usage (
default-features = false) - Merged end states per scope in state diagrams
Visual Improvements
- Better arrowhead styling for all diagram types
- Improved subgraph layout and positioning
- Class diagram diamond decorations
- Flowchart edge port distribution
- Edge label backgrounds and styling
Fixes
- Fixed overlapping sibling subgraphs
- Fixed cycle handling in rank computation
- Fixed clippy warnings for CI
Other
- Added Dependabot for automated dependency updates
- Improved benchmark charts in README
v0.1.0
Add CI, release workflow, and install docs