Loading...
Searching...
No Matches
GenericGraphModel Interface Reference
Inheritance diagram for GenericGraphModel:
IGraphModel Managed

Public Member Functions

void GenericGraphModel (notnull GraphNodeScene scene, notnull BaseContainer sceneSource)
 
proto external bool CanRemoveConnection (notnull GraphNodeConnectionBase connection)
 
proto external bool CanConnectPorts (notnull GraphNodePortBase portFrom, notnull GraphNodePortBase portTo)
 
proto external GraphNode AddNode (TypeName nodeType, string nodeName, vector nodePosition)
 Add node to the model, parameter nodeType should inherit from ScriptedGraphNode.
 
proto external bool SaveNode (notnull GraphNode node)
 Save node instance data back to the source, by using every attributes available.
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Protected Member Functions

bool OverrideCanRemoveConnection (notnull GraphNodeConnectionBase connection)
 
bool OverrideCanConnectPorts (notnull GraphNodePortBase portFrom, notnull GraphNodePortBase portTo)
 

Constructor & Destructor Documentation

◆ GenericGraphModel()

void GenericGraphModel.GenericGraphModel ( notnull GraphNodeScene scene,
notnull BaseContainer sceneSource )

Member Function Documentation

◆ AddNode()

proto external GraphNode GenericGraphModel.AddNode ( TypeName nodeType,
string nodeName,
vector nodePosition )

Add node to the model, parameter nodeType should inherit from ScriptedGraphNode.

◆ CanConnectPorts()

proto external bool GenericGraphModel.CanConnectPorts ( notnull GraphNodePortBase portFrom,
notnull GraphNodePortBase portTo )

◆ CanRemoveConnection()

proto external bool GenericGraphModel.CanRemoveConnection ( notnull GraphNodeConnectionBase connection)

◆ OverrideCanConnectPorts()

bool GenericGraphModel.OverrideCanConnectPorts ( notnull GraphNodePortBase portFrom,
notnull GraphNodePortBase portTo )
protected

◆ OverrideCanRemoveConnection()

bool GenericGraphModel.OverrideCanRemoveConnection ( notnull GraphNodeConnectionBase connection)
protected

◆ SaveNode()

proto external bool GenericGraphModel.SaveNode ( notnull GraphNode node)

Save node instance data back to the source, by using every attributes available.


The documentation for this interface was generated from the following file: