Adds a Connector to the Graph
Adds an Edge to the Graph
Adds a Model to the Graph
Adds a Node to the Graph
Deletes a Connector from the Graph
Deletes an Edge from the Graph
Removes an element from the graph, WARNING: does not perform a cascading delete (i.e. no removal of orphan edges)
Identifier of the element to remove
Only delete the element if it is of the matching Type, if undefined, this check will be skipped
Deletes a Model from the Graph
Deletes a Node from the Graph
Deletes a Property from the Graph
Creates a new GraphInterface from a JSON Graph
For the expected format, please read the documentation The expected format is the same as the format returned by serialize()
Iterate over the child elements to add them
Type of the child elements
the Children to iterate over
The queue to add elements to
register which elements are processed
Returns an element given an GUID
GUID representing an element identifier
Returns whether a Connector with the ID exists
Returns whether an Edge with the ID exists
Returns whether an Element with the ID exists
Returns whether a Model with the ID exists
Returns whether a Node with the ID exists
Creates a Property dictionary from JSON
JSON object that contains the properties
Transforms this Graph to a plain JSON graph
Sets a property on an Element
Generated using TypeDoc
Graph containing nodes, connectors, edges and models
NOTICE: this class is used internally in the Project class, always use the Project class