Class
MermaidTreeViewDocument
ChartForgeX.Mermaid
Describes a parsed Mermaid tree view diagram.
Inheritance
- MermaidDocument
- MermaidTreeViewDocument
Usage
Explore 11 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
- Method MermaidParser.ParseTreeView
Accepted by parameters 10
- Method MermaidTopologyRendering.ToTopologyChart
- Extension method MermaidTreeViewDocument.ToPng
- Extension method MermaidTreeViewDocument.ToSvg
- Extension method MermaidTreeViewDocument.ToTopologyChart
- Extension method MermaidTreeViewDocument.ToTreeViewBlock
- Extension method MermaidTreeViewDocument.ToVisualArtifact
- Method MermaidTreeViewRendering.ToPng
- Method MermaidTreeViewRendering.ToSvg
- Method MermaidTreeViewRendering.ToTreeViewBlock
- Method MermaidTreeViewRendering.ToVisualArtifact
Constructors
public MermaidTreeViewDocument() #Inherited Methods
Properties
Inherited Properties
public MermaidSourceSpan HeaderSpan { get; set; } #Inherited from MermaidDocument
public VisualAccessibility Accessibility { get; } #Inherited from MermaidDocument
public MermaidSourceConfiguration Configuration { get; internal set; } #Inherited from MermaidDocument
public List<MermaidDirective> Directives { get; } #Inherited from MermaidDocument
public List<MermaidRawStatement> RawStatements { get; } #Inherited from MermaidDocument
Extension Methods
public static byte[] ToPng(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #Renders native PNG through the same mark and positioned-text scene.
Parameters
- document ChartForgeX.Mermaid.MermaidTreeViewDocument
- options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #Renders the shared static SVG row scene.
Parameters
- document ChartForgeX.Mermaid.MermaidTreeViewDocument
- options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null
Returns
stringpublic static TopologyChart ToTopologyChart(MermaidTreeViewDocument document, MermaidTopologyRenderOptions? options = null) #Converts a Mermaid tree view to a topology chart.
Parameters
- document ChartForgeX.Mermaid.MermaidTreeViewDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
TopologyChartpublic static TreeViewBlock ToTreeViewBlock(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #Creates measured rows in source order without turning filenames into network nodes.
Parameters
- document ChartForgeX.Mermaid.MermaidTreeViewDocument
- options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null
Returns
TreeViewBlockpublic static VisualArtifact ToVisualArtifact(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #Wraps native rows in the existing bounded Mermaid export policy.
Parameters
- document ChartForgeX.Mermaid.MermaidTreeViewDocument
- options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null
Returns
VisualArtifact