Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] (no subject)

Hi,

the current implementation of the hash code of a Node uses the attributes map.

This breaks the following use case:

- create a node

- store it in a local hashset

- add it to the graph

- in createVisual change css attributes of the created node.

 

After that the node won't be found in the hashset any more.

 

Proposal for a fix:

use (only) the node id (ZestProperties.ELEMENT_CSS_ID) for the hashcode

 

Regards,

Arne

 

 


Back to the top