Skip to content

v0.2

Choose a tag to compare

@pspoerri pspoerri released this 13 Mar 19:00
· 6 commits to main since this release

Mermaid Diagram Support

This release adds full Mermaid diagram rendering as native PowerPoint shapes — no rasterized images, fully editable in PowerPoint.

Supported diagram types

  • Flowcharts — all standard node shapes (round, stadium, subroutine, cylinder, circle, diamond, hexagon, trapezoid, double-circle)
  • Sequence diagrams — participants, messages, and activation boxes
  • Class diagrams — classes with attributes/methods and relationships
  • State diagrams — states, transitions, start/end nodes, and cyclic transitions
  • Journey diagrams — task timelines with sections and scoring
  • ER diagrams — entities, attributes, and relationship connectors

Layout and rendering

  • Graph-based layout using topological sorting and longest-path layering for optimal node placement
  • Curved connectors with proper arrowheads between shapes
  • Back-edge routing around intermediate nodes for cyclic graphs
  • Label-arrow collision avoidance with virtual bounding boxes for text
  • Connector snapping to correct connection points on shapes
  • Edge overlap reduction for cleaner diagrams

Full Changelog: v0.1...v0.2