Skip to content
ChartForgeX
Class

MermaidTreeViewRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Maps source tree notation to the reusable native directory-row owner.

Inheritance

  • object
  • MermaidTreeViewRendering

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 required
options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #

Renders the shared static SVG row scene.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument required
options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null optional

Returns

string
public 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 required
options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null optional
public static VisualArtifact ToVisualArtifact(MermaidTreeViewDocument document, MermaidTreeViewRenderOptions? options = null) #

Wraps native rows in the existing bounded Mermaid export policy.

Parameters

document ChartForgeX.Mermaid.MermaidTreeViewDocument required
options ChartForgeX.Mermaid.MermaidTreeViewRenderOptions? = null optional