 | LGSPBackendCreateGraph Method (String, IGlobalVariables, String, Boolean, String) |
Creates a new LGSPGraph or LGSPNamedGraph backend instance with the graph model provided by the graph model file and a name.
Namespace:
de.unika.ipd.grGen.lgsp
Assembly:
lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntaxpublic LGSPGraph CreateGraph(
string modelFilename,
IGlobalVariables globalVariables,
string graphName,
bool named,
params string[] parameters
)
Parameters
- modelFilename
- Type: SystemString
Filename of a graph model file. - globalVariables
- Type: de.unika.ipd.grGen.libGrIGlobalVariables
An object implementing the IGlobalVariables interface, serving as global variables. - graphName
- Type: SystemString
Name of the graph. - named
- Type: SystemBoolean
Returns a named graph if true otherwise a non-named graph. You must cast the LGSPGraph returned to the inherited LGSPNamedGraph if named=true. - parameters
- Type: SystemString
Backend specific parameters.
Return Value
Type:
LGSPGraphThe new IGraph backend instance.
See Also