graphstream/gs-core — Issue #51: CSS bug when removing "ui.class" attribute
Author: sbalev
Created: 2012-01-14 22:40:48+00:00
State: open
Labels: gs-core, gs-ui

Elements keep their visual appearance after "ui.class" attribute is removed. For example, after executing the following code:

````java
Graph g = new SingleGraph("");
Node a = g.addNode("A");
g.addAttribute("ui.stylesheet", "node.red {fill-color: red;}");
g.display();
a.addAttribute("ui.class", "red");
a.removeAttribute("ui.class");
````
the node keeps being red.