Skip to main content

GraphObject

The super-interface of every object type in a Graph.

Extended by​

Methods​

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

Properties​

data​

data: any

Object's backing 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.


objectType​

objectType: string

The kind of the object.