 | LGSPBackendCreateGraph(String, IGlobalVariables, String, Boolean, String) Method |
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.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic LGSPGraph CreateGraph(
string modelFilename,
IGlobalVariables globalVariables,
string graphName,
bool named,
params string[] parameters
)
Parameters
- modelFilename String
- Filename of a graph model file.
- globalVariables IGlobalVariables
- An object implementing the IGlobalVariables interface, serving as global variables.
- graphName String
- Name of the graph.
- named Boolean
- 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 String
- Backend specific parameters.
Return Value
LGSPGraphThe new IGraph backend instance.
See Also