github lukilabs/beautiful-mermaid v1.0.1

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

Layout Quality Improvements

  • Centering: contentAlignment H_CENTER V_CENTER for subgraphs
  • Node placement: BALANCED fixed alignment at root and subgraph level
  • Edge spacing: optimized edgeEdge, edgeEdgeBetweenLayers, edgeNodeBetweenLayers
  • High-degree nodes: special treatment for nodes with 8+ connections
  • Post-compaction: LEFT_RIGHT_CONSTRAINT_LOCKING at root level
  • Model order: NODES_AND_EDGES preservation at root level

Layer Alignment

Post-processing step that snaps same-layer nodes to uniform flow-axis positions, fixing the visual stagger caused by ELK's orthogonal edge routing. Uses single-linkage clustering for accurate grouping across any fan-out size.

Edge Bundling

Fan-out/fan-in edges now share common trunk segments with subgraph-aware junction placement.

Bug Fixes

  • Fix edit dialog SVG rendering, source panel update, and close timing
  • Workarounds for ELK 0.11.0 compound node bugs (eclipse-elk/elk#724)

Don't miss a new beautiful-mermaid release

NewReleases is sending notifications on new releases.