Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Mermaid is the only graph output format

Platform spec ADR

Mermaid is the only graph output format

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Graph data was exported as bespoke LSP JSON, CLI ASCII trees, and unused edge arrays. Multiple presentation paths diverged from the same domain graphs.

  1. beskid_graph renders all tooling graphs to Mermaid flowcharts using mermaid-builder only.
  2. No DOT, GraphViz, or hand-rolled ASCII graph renderers in compiler presentation code.
  3. CLI uses graphs-tui to display Mermaid in the terminal; VS Code uses bundled Mermaid.js.
  • Domain graphs in beskid_analysis (daggy, module tree) stay for compile correctness.
  • All consumers share one Mermaid string from Salsa memoization.

Accepted — reference implementation in compiler/crates/beskid_graph/.