Skip to main content

AbstractEdgeTerminus

This is the base interface for objects in a Graph that can act as the terminus for an Edge.

Extends

Methods

getAllEdges()

getAllEdges(): Edge[]

Gets edges attached to this terminus where this terminus is the source or target

Returns

Edge[]


getFullId()

getFullId(): string

Gets the object's "full" id. For many objects this is the same as id, but a Port's full ID is in the form vertex.portId.

Returns

string

Inherited from

GraphObject.getFullId


getSourceEdges()

getSourceEdges(): Edge[]

Gets edges attached to this terminus where this terminus is the source

Returns

Edge[]


getTargetEdges()

getTargetEdges(): Edge[]

Gets edges attached to this terminus where this terminus is the target

Returns

Edge[]

Properties

data

data: any

Object's backing data

Inherited from

GraphObject.data


id

id: string

Object's ID, unique to some scope. All edges must have a unique ID, but an edge may have the same ID as some vertex. No two nodes and groups may have the same ID. Ports must have a unique ID on the vertex on which they reside.

Inherited from

GraphObject.id


objectType

objectType: string

The kind of the object.

Inherited from

GraphObject.objectType