 | IGraphProcessingEnvironmentAddNode Method (NodeType, String, String) |
Adds a new named node to the graph and assigns it to the given variable.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
SyntaxINode AddNode(
NodeType nodeType,
string varName,
string elemName
)
Parameters
- nodeType
- Type: de.unika.ipd.grGen.libGrNodeType
The node type for the new node. - varName
- Type: SystemString
The name of the variable. - elemName
- Type: SystemString
The name for the new node or null if it is to be auto-generated.
Return Value
Type:
INodeThe newly created node.
See Also