java.lang.Object
de.grogra.ext.exchangegraph.IOContext
The IOContext contains informations about import and export the
exchange graph format.
If the same context is used for import and export you can
use the same data, eg. give the same GroIMP nodes the same XEG node id,
see node map
. This is used for example in the
OpenAlea plugin.
- Author:
- Uwe Mannl
-
Field Summary
Modifier and TypeFieldDescriptionMapping of GroIMP node types to standard XEG node types.Mapping of standard XEG node types to GroIMP node types.Mapping of GroIMP node types to XEG helper classes for import and export. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theedge map
.Returns theedge types map
.Returns thenode map
.
-
Field Details
-
importNodeTypes
Mapping of standard XEG node types to GroIMP node types. -
exportNodeTypes
Mapping of GroIMP node types to standard XEG node types. -
xegNodeTypes
Mapping of GroIMP node types to XEG helper classes for import and export.
-
-
Constructor Details
-
IOContext
public IOContext()
-
-
Method Details
-
getNodeMap
Returns thenode map
.- Returns:
-
getEdgeMap
Returns theedge map
.- Returns:
- edge map
-
getEdgeTypes
Returns theedge types map
.- Returns:
- edge types map
-
getFromRootDstIdEdgeMap
-