Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 21:15
bc96163

0.2.0 (2026-11-15)

⚠ BREAKING CHANGES

  • Import MapPlayer, connectConcepts, Animator, Playback, FlowHooks and Geometry from @metronforge/concept-map/dom instead of @metronforge/concept-map. Maps remain format 3.
  • maps must use format: 3, rename spread to id, declare layers, and replace HTML text leaves with plain text plus inline marks; format 2 is no longer read. Migrate host colours to --cmap-layer-, --cmap-frame and --cmap-success; read step-panel text instead of html from derive(). See docs/FORMAT.md.

Features

  • add format 3 maps with generic layers and inline text (0d7f7e1)
  • add framework-free figures and a concept-map element (b21d5f3)
  • add layout() with dagre and ELK adapters for maps without coordinates (192e609)
  • add source-map validation and JSON Schema without geometry (0d7f7e1)
  • lay out maps from left to right with direction "right" (9062033)
  • load the selected layout engine only when needed (db9880e)
  • report unknown references in source maps with their path and id (192e609)

Bug Fixes

  • draw self-transitions as loops attached to their blocks (cae043a)
  • hide empty sources and close panel borders (727c6c6)
  • keep arrow labels beside lines and mask strokes beneath text (b276296)
  • keep maps readable at natural size and centered (5805f55)
  • keep self-transition loops compact and clear of nearby blocks (5bfd9ee)
  • layout: measure non-ASCII labels (604bbff)
  • place ELK edge labels beside their arrows (9062033)
  • place step numbers using rendered label sizes (f8d93d9)

Performance Improvements

  • reduce player and renderer bundles (8dd663f)