API Reference
Class
MermaidC4Document
Describes a parsed Mermaid C4 diagram.
Inheritance
- Object
- MermaidC4Document
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method MermaidC4Rendering.ToPng
- Method MermaidC4Rendering.ToSvg
- Method MermaidC4Rendering.ToTopologyChart
- Method MermaidC4Rendering.ToVisualArtifact
Properties
DiagramType #Gets or sets the concrete C4 header token such as C4Context.
Title #Gets or sets the optional Mermaid title statement.
Direction #Gets or sets an optional Mermaid direction statement.
Statements #Gets raw C4 statements retained with source spans.
Boundaries #Gets parsed C4 boundaries and deployment nodes in source order.
Elements #Gets parsed C4 elements in source order.
Relationships #Gets parsed C4 relationships in source order.
RetainedStatements #Gets retained C4 statements whose semantics are not rendered exactly yet.