API Reference
Class
MermaidTreemapNode
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, Int32 indent, MermaidTreemapNode? parent, String? className, MermaidSourceSpan span) #Initializes a treemap node.
Parameters
- label System.String
- value System.Double?
- indent System.Int32
- parent ChartForgeX.Mermaid.MermaidTreemapNode?
- className System.String?
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Label { get; } #Gets the display label.
public Double? Value { get; } #Gets the optional leaf value. Null means this node is a section/parent node.
public Int32 Indent { get; } #Gets the source indentation level.
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 List<MermaidTreemapNode> Children { get; } #Gets child nodes.
public Boolean IsLeaf { get; } #Gets whether the node is a leaf with a numeric value.
public String Path { get; } #Gets the node path from the root.
Inherited Properties
public MermaidSourceSpan Span { get; } #Inherited from MermaidAstNode