API Reference
Class
MermaidTreeViewNode
Describes one Mermaid tree view node.
Inheritance
- MermaidAstNode
- MermaidTreeViewNode
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 MermaidTreeViewDocument.Nodes
- Property MermaidTreeViewDocument.Roots
- Property MermaidTreeViewNode.Children
- Property MermaidTreeViewNode.Parent
Accepted by parameters 1
- Constructor MermaidTreeViewNode.MermaidTreeViewNode
Constructors
public MermaidTreeViewNode(String id, String label, Int32 indent, Int32 level, MermaidTreeViewNode? parent, MermaidSourceSpan span) #Initializes a tree view node.
Parameters
- id System.String
- label System.String
- indent System.Int32
- level System.Int32
- parent ChartForgeX.Mermaid.MermaidTreeViewNode?
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Id { get; } #Gets the generated stable node id.
public String Label { get; } #Gets the display label.
public Int32 Indent { get; } #Gets the source indentation width.
public Int32 Level { get; } #Gets the indentation-derived hierarchy level.
public MermaidTreeViewNode? Parent { get; } #Gets the parent node, or null for root nodes.
public List<MermaidTreeViewNode> Children { get; } #Gets child nodes.
public Boolean IsBranch { get; } #Gets whether the node has child nodes.
Inherited Properties
public MermaidSourceSpan Span { get; } #Inherited from MermaidAstNode