TreeViewNode instances are diagram nodes that can draw hierarchical data.
Namespace: MindFusion.Diagramming
File: TreeViewNode.js
JavaScript Copy Code |
---|
// class |
The root items displayed in the node can be accessed through the rootItems property. Items can be added and removed individually by using the addItem and removeItem methods, or in bulk by calling the fromObject method, which loads the tree view items from an array of objects.
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.TreeViewNode
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |