API Reference
MermaidArchitectureDocument
Describes a parsed Mermaid architecture diagram.
Inheritance
- MermaidDocument
- MermaidArchitectureDocument
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 8
- Extension method MermaidArchitectureDocument.ToPng
- Extension method MermaidArchitectureDocument.ToSvg
- Extension method MermaidArchitectureDocument.ToTopologyChart
- Extension method MermaidArchitectureDocument.ToVisualArtifact
- Method MermaidArchitectureRendering.ToPng
- Method MermaidArchitectureRendering.ToSvg
- Method MermaidArchitectureRendering.ToTopologyChart
- Method MermaidArchitectureRendering.ToVisualArtifact
Constructors
public MermaidArchitectureDocument() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public List<MermaidRawStatement> Statements { get; } #Gets raw architecture statements retained with source spans.
public List<MermaidArchitectureGroup> Groups { get; } #Gets parsed architecture groups in source order.
public List<MermaidArchitectureService> Services { get; } #Gets parsed architecture services in source order.
public List<MermaidArchitectureJunction> Junctions { get; } #Gets parsed architecture junctions in source order.
public List<MermaidArchitectureEdge> Edges { get; } #Gets parsed architecture edges in source order.
Inherited Properties
public MermaidDiagramKind Kind { get; set; } #public Boolean IsDiagnosticOnly { get; } #public String SourceText { get; set; } #public MermaidSourceSpan HeaderSpan { get; set; } #public String Header { get; set; } #public String? FrontMatter { get; set; } #public VisualAccessibility Accessibility { get; } #public String? Theme { get; set; } #public List<MermaidDirective> Directives { get; } #public List<MermaidRawStatement> RawStatements { get; } #Extension Methods
public static Byte[] ToPng(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #Byte[]Renders a Mermaid architecture document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidArchitectureDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static String ToSvg(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #StringRenders a Mermaid architecture document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidArchitectureDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static TopologyChart ToTopologyChart(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #TopologyChartConverts a Mermaid architecture document into a renderer-independent ChartForgeX topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidArchitectureDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
public static VisualArtifact ToVisualArtifact(MermaidArchitectureDocument document, MermaidTopologyRenderOptions? options = null) #VisualArtifactWraps a Mermaid architecture document in a visual artifact envelope backed by a ChartForgeX topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidArchitectureDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null