graphstream/gs-core — Issue #38: Deletion and event
Author: gsavin
Created: 2011-10-19 13:49:12+00:00
State: open
Labels: critical, gs-core

When we remove a node or an edge, actual behavior is to send an event (nodeRemoved/edgeRemoved) once the element has been removed. This is a problem because it prevents users to retrieve the element object from the graph (getNode/getEdge will return null with the element id).

Correct behavior is to send add-event once the element is created and to send remove-event before removing the element.