GraphStream Users

Archives de la liste Aide

Changing style attribute

Chronologique Discussions 
  • From: Florent Chuffart <florent.chuffart AT>
  • To: graphstream-users AT
  • Subject: Changing style attribute
  • Date: Fri, 1 Jul 2011 10:46:32 +0200


I try to change dynamically graphical properties of nodes.
To do that I use following setAttribute method:
n.setAttribute("ui.class", "green");
associated with stylesheet: {fill-color: green;}

Is there a way to do that without using stylesheet ?

I try
n.setAttribute("color", "green");
n.setAttribute("ui.color", "green");
but it do not work.


Florent Chuffart
florent.chuffart AT

Archives gérées par MHonArc 2.6.16.

Top of page