Package org.gephi.graph.api
Interface GraphDiff
-
public interface GraphDiffInterface to retrieve added and removed elements from the graph.This interface is associated with a
GraphObserverand provides an easy access to the elements added or removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeIterablegetAddedEdges()Gets all added edges.NodeIterablegetAddedNodes()Gets all added nodes.EdgeIterablegetRemovedEdges()Gets all removed edges.NodeIterablegetRemovedNodes()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
-
-