MindmapNode Class
A node of a mindmap: a text in a shape, with its children.
public sealed class MindmapNodeConstructors
| Name | Description |
|---|---|
| MindmapNode(DiagramText, MindmapNodeShape) | Initializes a new instance of the MindmapNode class. |
MindmapNode(DiagramText, MindmapNodeShape)
MindmapNode.csInitializes a new instance of the MindmapNode class.
public MindmapNode(DiagramText label, MindmapNodeShape shape = MindmapNodeShape.Default)Parameters
labelDiagramText- The text.
shapeMindmapNodeShape- The shape.
Properties
| Name | Description |
|---|---|
| Children | Gets the children, in order. |
| CssClasses | Gets the CSS classes of the node, written to the SVG (Mermaid :::urgent large). |
| Icon | Gets or sets the name of the icon (Mermaid ::icon(fa fa-book)), which is written to Mermaid but not drawn, or null for none. |
| Id | Gets or sets the identifier written before the shape in Mermaid (id[text]), or null for none. The mindmaps do not use it. |
| Label | Gets or sets the text. |
| Shape | Gets or sets the shape. |
Children
MindmapNode.csCssClasses
MindmapNode.csGets the CSS classes of the node, written to the SVG (Mermaid :::urgent large).
Property value
Icon
MindmapNode.csLabel
MindmapNode.csShape
MindmapNode.csMethods
| Name | Description |
|---|---|
| AddChild(DiagramText, MindmapNodeShape) | Adds a child. |
| ToString() | Returns the text of the node. |
AddChild(DiagramText, MindmapNodeShape)
MindmapNode.csAdds a child.
public MindmapNode AddChild(DiagramText label, MindmapNodeShape shape = MindmapNodeShape.Default)