Click or drag to resize

Porter Class

Import and export support for graphs.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrPorter

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 6.7
Syntax
C#
public static class Porter
Methods
  NameDescription
Public methodStatic memberExport(IGraph, ListString)
Exports the given graph to a file with the given filename. The format is determined by the file extension. Currently available is: .gxl; the format .grs/.grsi needs the named graph export. Optionally suffixed by .gz; in this case they are saved gzipped. Any errors will be reported by exception.
Public methodStatic memberExport(INamedGraph, ListString)
Exports the given named graph to a file with the given filename. The format is determined by the file extension. Currently available are: .grs/.grsi or .gxl or .xmi. Optionally suffixed by .gz; in this case they are saved gzipped. Any errors will be reported by exception.
Public methodStatic memberImport(IBackend, ListString, IActions)
Imports a graph from the given files. If the filenames only specify a model, the graph is empty. The format is determined by the file extensions. Currently available are: .grs/.grsi or .gxl or .ecore with .xmi. Optionally suffixed by .gz; in this case they are expected to be gzipped. Any error will be reported by exception.
Public methodStatic memberImport(String, IBackend, IGraphModel, IActions)
Imports a graph from the given file. The format is determined by the file extension. Any errors will be reported by exception.
Top
See Also