Click or drag to resize

GXLImportImport Method (TextReader, IBackend, IGraphModel, IActions)

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.2
Syntax
C#
public static IGraph Import(
	TextReader inStream,
	IBackend backend,
	IGraphModel graphModel,
	out IActions actions
)

Parameters

inStream
Type: System.IOTextReader
The text reader input stream import source.
backend
Type: de.unika.ipd.grGen.libGrIBackend
The backend to use to create the graph.
graphModel
Type: de.unika.ipd.grGen.libGrIGraphModel
The graph model to be used, it must be conformant to the model used in the file to be imported.
actions
Type: de.unika.ipd.grGen.libGrIActions
Receives the actions object in case a .grg model is given.

Return Value

Type: IGraph
See Also