Inner class listening to the GraphModel. If something is changed in the GraphModel, this Listener gets notified and propagates the change back to the JGraphT graph, if it didn't originate there.
If this change contains changes that would make this an illegal JGraphT graph, like adding an edge that is incident with only one vertex, the illegal parts of the change are undone.
|
|