SubGraph represents a node subgraph.
The root is accessible through the 'root' property. All nodes in the subgraph will be a descendant of the root. The currently selected items, represented by a NodeIdList are accessible through the 'selected' property. The currently hidden items, also represented by a NodeIdList are accessible through the 'hidden' property. These properties are read-only, you cannot assign a new root, or a new NodeIdList as the hidden and selected items containers.
The [] operator will return the NodeRef to the node with the given id.
#include
<class_node_containers_1_1_sub_graph.h>
Public Member Functions |
|
__init__ () | |
__del__ () | |
__getitem__ () | |
Returns the node corresponding to the given
id. |
|
__contains__ () | |
Returns True if the given node is part of
this subgraph; False otherwise. |
|
root () | |
selected () | |
selectedLocators () | |
hidden () | |
hiddenLocators () |
NodeContainers.SubGraph.__init__ | ( | ) |
NodeContainers.SubGraph.__del__ | ( | ) |
NodeContainers.SubGraph.__getitem__ | ( | ) |
Returns the node corresponding to the given id.
NodeContainers.SubGraph.__contains__ | ( | ) |
Returns True if the given node is part of this subgraph; False otherwise.
NodeContainers.SubGraph.root | ( | ) |
NodeContainers.SubGraph.selected | ( | ) |
NodeContainers.SubGraph.selectedLocators | ( | ) |
NodeContainers.SubGraph.hidden | ( | ) |
NodeContainers.SubGraph.hiddenLocators | ( | ) |