Class
MermaidTreemapNode
ChartForgeX.Mermaid
Describes one Mermaid treemap node.
Inheritance
- MermaidAstNode
- MermaidTreemapNode
Usage
Explore 5 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 4
- Property MermaidTreemapDocument.Nodes
- Property MermaidTreemapDocument.Roots
- Property MermaidTreemapNode.Children
- Property MermaidTreemapNode.Parent
Accepted by parameters 1
- Constructor MermaidTreemapNode.MermaidTreemapNode
Constructors
public MermaidTreemapNode(string label, double? value, int indent, MermaidTreemapNode? parent, string? className, MermaidSourceSpan span) #Initializes a treemap node.
Parameters
- label string
- value double?
- indent int
- parent ChartForgeX.Mermaid.MermaidTreemapNode?
- className string?
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
Properties
public double? Value { get; } #Gets the optional leaf value. Null means this node is a section/parent node.
public string? ClassName { get; } #Gets the optional Mermaid class name from :::class syntax.
public MermaidTreemapNode? Parent { get; } #Gets the parent node, or null for roots.
public bool IsLeaf { get; } #Gets whether the node is a leaf with a numeric value.