A GvNodeMaster stores a collection of GvNode
Parameters: | host (BaseList2D) – Attaches a GvNodeMaster to a BaseList2D object. |
---|---|
Return type: | GvNodeMaster |
Returns: | The new nodemaster. |
Allocates a node without inserting it.
Parameters: | id (int) – The id. See Graph View Node Types. |
---|---|
Return type: | GvNode |
Returns: | The new node. |
Creates a node and inserts it.
Parameters: |
|
---|---|
Return type: | |
Returns: | The created node. |
Retrieves the owner.
Return type: | BaseList2D |
---|---|
Returns: | The owner of the GvNodeMaster |
Inserts a node first in the node list of an Xgroup. (Equivalent to GeListNode.InsertUnder(), but with additional checks that parent is a group node, and that node is removed.)
Parameters: | |
---|---|
Return type: | bool |
Returns: | True if the node was inserted, otherwise False. |
Inserts a node last in the node list of an Xgroup. (Equivalent to GeListNode.InsertUnderLast(), but with additional checks that parent is a group node, and that node is removed.)
Parameters: | |
---|---|
Return type: | bool |
Returns: | True if the node was inserted, otherwise False. |
Perform a hierarchy operation. Pass the arguments as a dictionary.
Parameters: | |
---|---|
Return type: | bool |
Returns: | True if the hierarchy was set, otherwise False. |
Checks if the node master is enabled.
Return type: | GvNodeMaster |
---|---|
Returns: | True if the node master is enabled. |
Returns the settings container.
Return type: | BaseContainer |
---|---|
Returns: | A copy of the settings container. |
Set the settings container.
Parameters: | bc (BaseContainer) – The settings container. |
---|
Call this function if you manipulated something with a node master, and you want it to be undoable.
Return type: | bool |
---|---|
Returns: | True if successful, otherwise False. |
Calculates the GvNodeMaster.