public final class GraphCopier
extends java.lang.Object
Constructor and Description |
---|
GraphCopier(Graph sourceGraph,
java.lang.String attributeNameForId) |
Modifier and Type | Method and Description |
---|---|
void |
into(Graph.Builder targetGraph) |
public GraphCopier(Graph sourceGraph, java.lang.String attributeNameForId)
sourceGraph
- The Zest source graph to import into another graph. Note that
this will only support a subset of the graph attributes, as it
is used for import of Zest graphs created from DOT input.attributeNameForId
- The name of the attribute that stores an identification value
for nodes.public void into(Graph.Builder targetGraph)
targetGraph
- The graph to add content toCopyright (c) 2014 itemis AG and others. All rights reserved.