API Reference Boxart v#0.3.2

Copy Markdown View Source

Modules

Terminal graph rendering with Unicode box-drawing characters.

2D character canvas for rendering diagrams.

A single cell in the canvas grid.

Character sets for Unicode and ASCII box-drawing rendering.

Arrow head characters.

Box-drawing border characters.

Junction and corner characters (tees, crosses).

Line characters (horizontal, vertical, dotted, thick).

Special markers (diamonds, circles, crosses) for edge endpoints.

Subgraph border characters.

Helpers for rendering syntax-highlighted code blocks inside graph nodes.

Formatted code block ready for rendering.

Behaviour for specialized diagram renderers.

Internal graph representation for the rendering pipeline.

A directed edge connecting two nodes.

A node in the graph with an id, display label, and shape.

A named group of nodes, optionally nested.

ANSI terminal formatter for Makeup syntax highlighting tokens.

Grid-based layout engine for flowchart diagrams.

Coordinate conversion for the layout engine.

Logical position on the layout grid.

Layer assignment and ordering for the layout engine.

Grid and draw-coordinate placement for a single node.

Node placement and sizing for the layout engine.

Bounding box for a subgraph in draw coordinates.

Subgraph layout handling for the layout engine.

Draw orchestrator: combines layout, routing, and rendering into final output.

Renderer for Gantt chart diagrams.

A Gantt chart with sections and tasks.

A section grouping tasks.

A task in the Gantt chart.

Renderer for git branch/commit graphs.

A git graph with branches and commits.

Renderer for mindmap diagrams.

A node in the mindmap tree.

Renderer for pie chart diagrams as horizontal bar charts.

A pie chart with title and slices.

Renderer for sequence diagrams.

Sequence diagram activate data.

Sequence diagram block data.

Sequence diagram blockend data.

Sequence diagram blocksection data.

Sequence diagram blocksectionbreak data.

Sequence diagram blockstart data.

Sequence diagram destroy data.

Sequence diagram layout data.

Sequence diagram message data.

Sequence diagram note data.

A participant in the sequence diagram.

A sequence diagram with participants and events.

Shape renderers for node drawing.

Renderer for state diagrams.

A state in the diagram.

A state diagram with states and transitions.

A transition between states.

Edge routing orchestrator.

A* pathfinder on the grid coordinate system.

An edge with its computed path in grid and drawing coordinates.

Color themes for terminal diagram output.

Shared utility functions for terminal rendering.