termaidversion Documentation on ocaml.org

Render Mermaid diagrams as Unicode box-drawing art

termaid renders a subset of Mermaid diagrams — flowcharts, state, class, entity-relationship, and sequence diagrams — into Unicode box-drawing art suitable for a terminal. Output is plain UTF-8 lines plus a TUI-agnostic class-tagged span model for callers that want to colorize; it depends on no terminal framework. Unsupported diagram types fall back to a framed raw box.

This is an OCaml port of the self-contained Rust mermaid.rs renderer from xai-org/grok-build, re-implemented and repackaged for opam.

Tags mermaid diagram terminal tui box-drawing flowchart unicode
AuthorAlex Leighton <axlelonghorn@gmail.com>
LicenseApache-2.0
Published
Homepagehttps://github.com/alexleighton/termaid
Issue Trackerhttps://github.com/alexleighton/termaid/issues
MaintainerAlex Leighton <axlelonghorn@gmail.com>
Dependencies
Source [http] https://github.com/alexleighton/termaid/releases/download/1.0.0/termaid-1.0.0.tbz
sha256=29bf91de7d567e0dd0534a0ec814cf51c48c077d1d860f0d9a427f5d71ac7f65
sha512=bc288d8fd4918aacc79da66efac8fc76e8a94e6a9c01cbf886eb3c5f959383584ad30a526e8f5f55aa24f0477834019feb7e1d2e2ecea147cf4f18ce6a242ffa
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/termaid/termaid.1.0.0/opam
No package is dependent