Home > @jsplumbtoolkit/browser-ui > Port
Port class
Signature:
export declare class Port extends Vertex
Extends: Vertex
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(parent, data, idFunction) | Constructs a new instance of the Port class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
objectType | string | ||
objectType | static | string | |
parent | Node |
Methods
Method | Modifiers | Description |
---|---|---|
getAllEdges(params) | gets all the edges connected to this port, as source or target. | |
getFullId() | Overrides the getFullId of Node to return a value in dotted notation of the form nodeId.portId . | |
getParent() | Gets the vertex this Port belongs to. Remember that Group extends Node, so this could be a Group, but Ports cannot have child Ports. | |
isChildOf(v) | Returns whether or not this port is a child of the given object. |