Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidTreeViewDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid tree view diagram.

Inheritance

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

Constructors

public MermaidTreeViewDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets retained non-empty tree view statements.

public List<MermaidTreeViewNode> Roots { get; } #

Gets top-level tree view nodes.

public List<MermaidTreeViewNode> Nodes { get; } #

Gets all tree view nodes in source order.

Extension Methods

public static Byte[] ToPng(MermaidTreeViewDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid tree view to PNG.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidTreeViewDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: String

Renders a Mermaid tree view to SVG.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static TopologyChart ToTopologyChart(MermaidTreeViewDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: TopologyChart

Converts a Mermaid tree view to a topology chart.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidTreeViewDocument document, MermaidTopologyRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid tree view in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optionalposition: 1