PyANGKernel.GKNodeNewCmd¶
- class GKNodeNewCmd¶
A command to create a new Node
Synopsis¶
Methods¶
def
__init__()def
setData()def
setPosition()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- setData(center, selectedSections, existingNode)¶
Specify the center of the node, the list of sections to create the node among them and if any of the entrance sections are already connected to a destination node or any of the exit sections are already connected to an origin node, the node (that needs to be the same for all of them). The existing node can be null if all of them are unconnected.