blueprintToMermaid()
Render a portable D629/D630 GraphBlueprint directly as deterministic Mermaid source.
Unlike {@link describeToMermaid}, this helper consumes only the versioned Blueprint evidence envelope. It never reads runtime values, status, or a live Graph.
Import
Section titled “Import”import { blueprintToMermaid } from "@graphrefly/ts/graph";Signature
Section titled “Signature”function blueprintToMermaid( blueprint: GraphBlueprintEvidence, opts: GraphBlueprintToMermaidOptions = {},): stringParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
blueprint | GraphBlueprintEvidence | Portable GraphBlueprint evidence. |
opts | GraphBlueprintToMermaidOptions | Diagram direction. |
Returns
Section titled “Returns”Deterministic Mermaid flowchart source preserving subgraph groups.
Documentation Status
Section titled “Documentation Status”This page was generated from source JSDoc, but the structured API tags are incomplete:
- Missing
@example.
Source
Section titled “Source”packages/ts/src/graph/render.ts