Skip to content

Releases: 1jehuang/mermaid-rs-renderer

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 06 Jul 16:42
Release v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 04:43
Release v0.3.0

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 23 Apr 23:09
v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Mar 12:14
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

Choose a tag to compare

@github-actions github-actions released this 07 Feb 23:22
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

Choose a tag to compare

@github-actions github-actions released this 02 Feb 02:08
v0.1.3

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 28 Jan 10:39
Fix clippy warnings and format code

v0.1.1

Choose a tag to compare

@1jehuang 1jehuang released this 25 Jan 01:32

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

Choose a tag to compare

@github-actions github-actions released this 23 Jan 00:00
Add CI, release workflow, and install docs