Click or drag to resize

GXLImportImport(TextReader, IBackend, IGraphModel, IActions) Method

Imports the first graph not being of type "gxl-1.0" from the given text reader input stream. Any errors will be reported by exception.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public static IGraph Import(
	TextReader inStream,
	IBackend backend,
	IGraphModel graphModel,
	out IActions actions
)

Parameters

inStream  TextReader
The text reader input stream import source.
backend  IBackend
The backend to use to create the graph.
graphModel  IGraphModel
The graph model to be used, it must be conformant to the model used in the file to be imported.
actions  IActions
Receives the actions object in case a .grg model is given.

Return Value

IGraph
See Also