Skip to content

v0.1.0

Choose a tag to compare

@dannote dannote released this 18 Apr 12:26
· 18 commits to master since this release

Initial release.

Features

  • Directed graph rendering — accepts Graph.t() from libgraph, renders as Unicode/ASCII art
  • Code nodes — source code with line numbers, optional Makeup syntax highlighting
  • 17 node shapes — rectangle, diamond, rounded, hexagon, stadium, circle, cylinder, and more
  • Edge styles — solid, dotted, thick, bidirectional, no-arrow (T-junction)
  • Edge labels
  • Subgraphs
  • All 4 directions — TD, LR, BT, RL
  • ANSI color themes — 7 built-in (default, mono, neon, dracula, nord, amber, phosphor) + custom
  • Rounded/sharp edge corners
  • Configurable padding and gap

Specialized renderers

  • State diagrams — states as rounded boxes with start/end markers
  • Sequence diagrams — lifelines, messages, activation boxes, notes, interaction blocks
  • Git graphs — branch lines, commit markers, tags, fork/merge (LR, TB, BT)
  • Gantt charts — task bars with time axis, sections, milestones
  • Mindmaps — tree layout with left/right branching (accepts Graph.t())
  • Pie charts — horizontal bar charts

All renderers implement the Boxart.Diagram behaviour.

Links