Graph event interface, that {@link GraphListener} receives when the graph ismodified. Each event is specific to a particular view, which can be get from the
getSource()
method.
- ADD_NODES: | Add nodes to the graph |
- REMOVE_NODES: | Remove nodes from the graph, with their edges |
- ADD_EDGES: | Add edges to the graph |
- REMOVE_EDGES: | Remove edges from the graph |
- MOVE_NODE: | Move nodes on the hierarchy, parent node is changed |
- VISIBLE_VIEW: | Current visible view is changed |
- NEW_VIEW: | A new view is created |
- DESTROY_VIEW: | A view is destroyed |
- EXPAND: | Expand nodes in the hierarchy |
- RETRACT: | Retract nodes in the hierarchy |
- META_EDGES_UPDATE | Meta-Edges are updated |
@author Mathieu Bastian
@see GraphView