Skip to main content

NodeInstancePortReference

Classes

NodeInstancePortReference

Reference for a port of a node instance

Members

id_counter : number

NodeInstancePortReference

Reference for a port of a node instance

Kind: global class

nodeInstancePortReference.id : number

Kind: instance property of NodeInstancePortReference
Read only: true

nodeInstancePortReference.instance : NodeInstance

Kind: instance property of NodeInstancePortReference
Read only: true

nodeInstancePortReference.port : Port

Kind: instance property of NodeInstancePortReference
Read only: true

nodeInstancePortReference.connections : Array.<Connection>

Attached connections NOTE: Maintained by NodeGraph, do not modify

Kind: instance property of NodeInstancePortReference
Read only: true

nodeInstancePortReference.outConnections ⇒ Array.<Connection>

Outgoing connections

Kind: instance property of NodeInstancePortReference

nodeInstancePortReference.inConnections ⇒ Array.<Connection>

Incoming connections

Kind: instance property of NodeInstancePortReference

nodeInstancePortReference.isNodeInstancePortReference : boolean

Kind: instance property of NodeInstancePortReference
Read only: true

nodeInstancePortReference.hasConnections() ⇒ boolean

Kind: instance method of NodeInstancePortReference

nodeInstancePortReference.isConnectedToNode(node_instance_id) ⇒ boolean

Checks if a connection exists from this endpoint to a specific node instance Also returns true when parameter refers to instance that the port is attached to

Kind: instance method of NodeInstancePortReference

ParamType
node_instance_idnumber

nodeInstancePortReference.set(instance, port)

Kind: instance method of NodeInstancePortReference

ParamType
instanceNodeInstance
portPort

nodeInstancePortReference.hash() ⇒ number

Kind: instance method of NodeInstancePortReference

nodeInstancePortReference.equals(other) ⇒ boolean

Kind: instance method of NodeInstancePortReference

ParamType
otherNodeInstancePortReference

NodeInstancePortReference.from(instance, port) ⇒ NodeInstancePortReference

Kind: static method of NodeInstancePortReference

ParamType
instanceNodeInstance
portPort

id_counter : number

Kind: global variable