Port that accepts input for a node.
More...
Port that accepts input for a node.
def IGR.port.InputPort.__init__ |
( |
|
self, |
|
|
|
node, |
|
|
|
idx |
|
) |
| |
def IGR.port.InputPort.attach |
( |
|
self, |
|
|
|
source |
|
) |
| |
Attach this port to another port or literal This is an implicit edge representation.
- Parameters
-
source | The source of the connection, a port or literal. |
def IGR.port.InputPort.isConnected |
( |
|
self | ) |
|
def IGR.port.InputPort.acceptsLiteral |
( |
|
self | ) |
|
def IGR.port.Port.__str__ |
( |
|
self | ) |
|
|
inherited |
Create a string version of the port.
- Returns
- A string representing this port. This string should not be used to recreate this port.
def IGR.port.Port.isPort |
( |
|
self | ) |
|
|
inherited |
See if this is a port (mainly for traversal)
IGR.port.InputPort.source |