ReadonlydataThe semantic !Data | Data model that determines the structure of this TreeView.
ReadonlyeventsThe events emitted by this TreeView.
ReadonlyviewThe View that contains the ViewObjects navigated by this TreeView.
StaticAggregationHierarchy mode that arranges the TreeViewNodes as an aggregation hierarchy.
The mode creates a TreeViewNode hierarchy that mirrors that of the !DataObject | DataObjects and aggregation !Relationship | Relationships in the !Data | Data.
In this hierarchy, each TreeViewNode corresponds to a DataObject in the Data. The TreeViewNodes are connected into a hierarchy that reflects a depth-first traversal from the root DataObjects that follows each DataObject's outgoing Relationships of the type given in TreeView.linkType.
StaticGroupsHierarchy mode that arranges the TreeViewNodes into an n-level grouped hierarchy.
This mode creates a multi-level grouped hierarchy, following the order given
in TreeViewParams.groupTypes. The TreeViewNodes at level 0 are all the same
type as TreeViewParams.groupTypes[0], TreeViewNodes at level 1 are all the same type
as TreeViewParams.groupTypes[1], and so on. Once descended beyond the length of
TreeViewParams.groupTypes, the TreeViewNodes are grouped by type.
StaticTypesHierarchy mode that groups the TreeViewNodes by type.
This mode creates a two-level hierarchy. At the root level, we get TreeViewNodes that represent each of the distinct types in our !Data | Data. Each of those gets one or more child TreeViewNodes that represent !DataObject | DataObjects of that type. When those DataObjects have ViewObjects of the same ID, then the TreeViewNodes will have checkboxes that we can use to show, hide, and X-ray their ViewObjects.
Grouping types for TreeView.GroupsHierarchy.
Gets how the nodes are organized within this tree view.
Sets how the nodes are organized within this tree view.
When traversing the !Data | Data to build the tree UI nodes, at each !DataObject | DataObjects, the TreeView will traverse only the outgoing !Relationship | Relationships of this type in !DataObject.relating | DataObject.relating.
When traversing the !Data | Data to build the tree UI nodes, at each !DataObject | DataObjects, the TreeView will traverse only the outgoing !Relationship | Relationships of this type in !DataObject.relating | DataObject.relating.
Adds a model to this tree view.
Removes a model from this tree view.
Closes all the nodes in the tree.
Destroys this TreeView.
Expands the tree to the given depth.
Highlights the tree view node that represents the given object !ViewObject | ViewObject.
De-highlights the node previously shown with TreeView_showNode.
An HTMl tree view that navigates the !DataObject | DataObjects in the given !Data | Data, while controlling the visibility of their corresponding ViewObjects in the given View.
See ui/treeview | @xeokit/sdk/treeview for usage.