Class
MermaidTreeViewNode
ChartForgeX.Mermaid
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, int indent, int level, MermaidTreeViewNode? parent, MermaidSourceSpan span, string? description = null, IEnumerable<string>? classes = null, string? iconReference = null) #Initializes a tree view node.
Parameters
- id string
- label string
- indent int
- level int
- parent ChartForgeX.Mermaid.MermaidTreeViewNode?
- span ChartForgeX.Mermaid.MermaidSourceSpan
- description string? = null
- classes System.Collections.Generic.IEnumerable<string>? = null
- iconReference string? = null
Inherited Methods
Properties
public string Description { get; } #Gets the complete inline description, separate from the label.
public IReadOnlyList<string> Classes { get; } #Gets copied source class names; external CSS is never executed.
public string? IconReference { get; } #Gets the explicit icon name, null for automatic policy or an empty string to hide it.
public bool IsDirectory { get; } #Gets whether the source explicitly marks a directory with a trailing slash.
public int Level { get; } #Gets the indentation-derived hierarchy level.
public MermaidTreeViewNode? Parent { get; } #Gets the parent node, or null for root nodes.