Class
MermaidTreeViewRendering
ChartForgeX.Mermaid
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
- 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 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