Package ghidra.graph.event
Interface VisualGraphChangeListener<V,E>
public interface VisualGraphChangeListener<V,E>
A listener to get notified of graph changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
edgesAdded
(Iterable<E> edges) Called when the given edges have been added from the graphvoid
edgesRemoved
(Iterable<E> edges) Called when the given edges have been removed from the graphvoid
verticesAdded
(Iterable<V> vertices) Called when the given vertices have been added from the graphvoid
verticesRemoved
(Iterable<V> vertices) Called when the given vertices have been removed from the graph
-
Method Details
-
verticesAdded
Called when the given vertices have been added from the graph- Parameters:
vertices
- the added vertices
-
verticesRemoved
Called when the given vertices have been removed from the graph- Parameters:
vertices
- the removed vertices
-
edgesAdded
Called when the given edges have been added from the graph- Parameters:
edges
- the added edges
-
edgesRemoved
Called when the given edges have been removed from the graph- Parameters:
edges
- the removed edges
-