Package org.gephi.graph.api
Interface GraphDiff
-
public interface GraphDiff
Interface to retrieve added and removed elements from the graph.This interface is associated with a
GraphObserver
and provides an easy access to the elements added or removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeIterable
getAddedEdges()
Gets all added edges.NodeIterable
getAddedNodes()
Gets all added nodes.EdgeIterable
getRemovedEdges()
Gets all removed edges.NodeIterable
getRemovedNodes()
Gets all removed nodes.
-
-
-
Method Detail
-
getAddedNodes
NodeIterable getAddedNodes()
Gets all added nodes.- Returns:
- an iterable over added nodes
-
getRemovedNodes
NodeIterable getRemovedNodes()
Gets all removed nodes.- Returns:
- an iterable over removed nodes
-
getAddedEdges
EdgeIterable getAddedEdges()
Gets all added edges.- Returns:
- an iterable over added edges
-
getRemovedEdges
EdgeIterable getRemovedEdges()
Gets all removed edges.- Returns:
- an iterable over removed edges
-
-