github lukilabs/beautiful-mermaid v1.1.0

latest releases: v1.1.3, v1.1.2, v1.1.1...
one month ago

What's New

XY Charts (bar, line, combined)

Full support for Mermaid's xychart-beta syntax — bar charts, line charts, and combinations with:

  • Multi-series with monochromatic color palette derived from theme accent
  • Smooth cubic spline interpolation for line series
  • Interactive tooltips (hover bars/data points)
  • Horizontal orientation support
  • Dot grid background, rounded bars, floating labels
  • ASCII/Unicode rendering for terminal output
  • Full theme support with live CSS variable switching

Inline Edge Styling (linkStyle)

Style individual edges by index or set defaults — stroke, stroke-width supported. Works in flowcharts and state diagrams.

CJK State Diagram Support

State diagrams now correctly parse Chinese, Japanese, Korean and other Unicode characters in state names, transitions, and descriptions.

Text-Embedded Edge Labels

Flowcharts now support text-embedded label syntax (-- Yes -->, -. Maybe .->, == Sure ==>) as an alternative to pipe syntax (-->|Yes|).

Thanks to @liuxiaopai-ai for the original branch label implementation in #36.

Full Changelog

  • feat: XY Charts — bar, line, combined, horizontal, interactive (#40)
  • feat: linkStyle support (#47)
  • fix: CJK Unicode support in state diagrams (#43, #49)
  • feat: text-embedded edge labels (#32, #49)

Don't miss a new beautiful-mermaid release

NewReleases is sending notifications on new releases.