Adds a Connector to the Graph
Identifier of the Connector to add, this GUID should not already exist in the system
String representing the type of the connector (i.e. "NETWORK_LAN" or "FAM_DATA_CONNECTOR")
Identifier of the Node that contains this Connector
Dictionary of properties of the Connector
Adds an Edge to the Graph
Identifier of the Edge to add, this GUID should not already exist in the system
string String representing the type of the Edge (i.e. "FAM_DATA_FLOW" or "UML_INHERITS")
Identifier of the model that contains this Edge
Identifier of the connector to which this Edge will go
Dictionary of properties of the Edge
Adds a Model to the Graph
Identifier of the Model to add, this GUID should not already exist in the system
String representing the type of the connector (i.e. "MODEL_FAM" or "MODEL_UML")
Dictionary of properties of the Model
Identifier of the parent of this subgraph. Leave empty to create a model under the root
Adds a Node to the Graph
Identifier of the Node to add, this GUID should not already exist in the system
String representing the type of the node (i.e. "FAM_NODE" or "UML_CLASS")
Identifier of the model that contains this Node
Dictionary of properties of the Node
Deletes a Connector from the Graph
Identifier of the Connector to delete
Deletes an Edge from the Graph
Identifier of the Edge to delete
Deletes a Model from the Graph
Identifier of the Model to delete
Deletes a Node from the Graph
Identifier of the Node to delete
Deletes a Property from the Graph
Identifier of the Element that contains the property
of the property that should be deleted
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()
JSON Object that should be converted to GraphInterface
Returns whether a Connector with the ID exists
Identifier to check
Returns whether an Edge with the ID exists
Identifier to check
Returns whether an Element with the ID exists
Identifier to check
Returns whether a Model with the ID exists
Identifier to check
Returns whether a Node with the ID exists
Identifier to check
Transforms this Graph to a plain JSON graph
Sets a property on an Element
Identifier of the Element on which the property should be set
Name of the property that will be set
The value to set the property with
Generated using TypeDoc
Interface describing basic graph operations