Menu

Change Shape of a Node

Help
Carver
2011-05-07
2013-04-25
  • Carver

    Carver - 2011-05-07

    Hi everybody,

    can anyone tell me how to change the shape of a node?

    Kind Regards
    Paul

     
  • Jean-Daniel Fekete

            VisualShape vS = VisualShape.get(visualization);
            if (vS != null) {
                vS.setDefaultShape(1);
            }

    Look at infovis.visualization.render.VisualShape for the standard repertoire of shapes.
    0 = rect
    1 = ellipse/circle
    2 = rounded rect
    4 = triangle
    4 = diamond

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.