Class: Marvi::Diagram
- Inherits:
-
Object
- Object
- Marvi::Diagram
- Defined in:
- lib/marvi/diagram.rb
Overview
Renders a subset of Mermaid diagrams as Unicode box-drawing art.
The public entry point returns an array of Span lines (one array of Spans per visual line), or nil when the diagram type or syntax is unsupported. Callers are expected to fall back to a plain code block when nil is returned.
Defined Under Namespace
Modules: BoxDrawing Classes: ClassRenderer, FlowchartRenderer, Grid, SequenceRenderer, StateRenderer
Constant Summary collapse
- COLOR =
:cyan- WIDE_FILLER =
"