Skip to content

v0.3.0

Choose a tag to compare

@dannote dannote released this 18 Apr 16:07
· 6 commits to master since this release

Progressive compaction

When max_width is set and the graph is too wide, Boxart now tries progressively compact settings — smaller gap, then padding — before falling back to canvas clamping. Ported from termaid's auto-fit behavior.

Layout stacking

When compaction isn't enough, sibling nodes in the same layer are stacked vertically instead of side-by-side, keeping all nodes fully rendered with intact borders.

Syntax highlighting in themed output

Code nodes with :language now render with Makeup syntax colors (keywords, functions, strings, operators) alongside the theme's structural colors.

Bug fixes

  • Labels no longer re-wrapped at hardcoded 20-char width — max_label_width is respected throughout
  • max_width operates at canvas cell level — no broken box-drawing characters
  • Mindmap handles tuple vertices without crashing

Hex.pm · HexDocs · Changelog