public interface IGraphObserver<V>
| Modifier and Type | Method and Description |
|---|---|
void |
edgeDeleted(V source,
V target)
Used to notify when an edge is deleted from the graph.
|
void |
edgeInserted(V source,
V target)
Used to notify when an edge is inserted into the graph.
|
void |
nodeDeleted(V n)
Used to notify when a node is deleted from the graph.
|
void |
nodeInserted(V n)
Used to notify when a node is inserted into the graph.
|
void edgeInserted(V source, V target)
source - the source of the edgetarget - the target of the edgevoid edgeDeleted(V source, V target)
source - the source of the edgetarget - the target of the edgevoid nodeInserted(V n)
n - the nodevoid nodeDeleted(V n)
n - the node