graphstream/gs-core — Issue #49: node shape: rounded-box not apply
Author: rmaestre
Created: 2011-12-23 18:48:13+00:00
State: open

Hi everyone, firstly: nice job with this library!!
However, with the next code i have one problem (using 1.1 libraries):

Node n = g.getNode(nodeLabel);
n.addAttribute("ui.style" , ("size: 10px, 10px; fill-color: #3d5689; shape: rounded-box; stroke-mode: plain; stroke-color: yellow;");
n.setAttribute("label",nodeLabel);

With the above code, nodes perform the change of size and fill-color well, but not shape, stroke-mode and stroke-color. In edges does not work shape forms.

Edge e = g.getEdge(from+to);
e.addAttribute("ui.style" , "cubic-curve;");

Any suggestion?
Best regards !