dial_core.node_editor.InputPort

class dial_core.node_editor.InputPort(name, port_type)[source]

Bases: dial_core.node_editor.port.Port

property port_connected_to

Returns the port connected to this one (can be None).

Because this is an Input Port, we can ensure it can be connected to only one (1) another port.

Return type:Optional[Port]
Returns:The port its connected to (or None if no port connected)
receive()[source]

Gets the output value of the connected OutputPort.