Package org.gephi.graph.api
Interface GraphBridge
-
public interface GraphBridge
Helper that helps transfer elements from another graph store.This bridge can be used to insert elements that belong to another graph in this graph store. It operates a deep copy so the destination elements are independent from the source and have exactly the same properties and attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
copyNodes(Node[] nodes)
Copy the given nodes to the current graph store.
-
-
-
Method Detail
-
copyNodes
void copyNodes(Node[] nodes)
Copy the given nodes to the current graph store.The
nodes
typically belong to another graph store. If nodes already exists in the current graph they will be ignored.All edges attached to
nodes
will be copied as well if their source and target exists in this graph store.This operation takes care of copying attribute columns and values, edge type labels and element properties.
Beware that the source's configuration should match this graph store configuration.
- Parameters:
nodes
- nodes to copy
-
-