Skip to content

v0.3.0

Choose a tag to compare

@fasouto fasouto released this 25 Mar 22:27
· 538 commits to main since this release

What's new

Rendering engine overhaul -- all 5 known rendering bugs are fixed:

  • Junction characters now derived from direction bitfields instead of a lookup table
  • Crossing edges get extra routing space via automatic gap expansion
  • Overlapping arrows spread across node borders
  • Subgraphs no longer overlap when cross-boundary edges exist
  • Edge labels from different edges no longer merge onto the same line

New diagram type: mindmaps

          ╭─ Design ──╭─ Wireframes
          │           ╰─ Mockups
Project ──├─ Development ──╭─ Frontend
          │                ╰─ Backend
          ╰─ Testing

CLI improvements:

  • --width N -- max output width with automatic compaction
  • -o FILE -- write to file
  • --show-ids -- debug node ID/label mapping
  • --no-auto-fit -- disable terminal width auto-compaction
  • NO_COLOR environment variable respected

Code quality:

  • Layout engine split from 1 file (1095 lines) into 5 focused modules
  • 1066 tests, 0 failures
  • Gallery of all 78 fixture diagrams in docs/gallery.md