Menu

vertex label position and more than 1 label

2011-02-25
2013-05-29
  • Jordi Creus Tomàs

    hi!! :)

    first of all, congrats for ur library, it's great and very well done!!

    i've 2 questions:

    first, is it possible to define label positions independently for each vertex? i mean labels could be displayed at vertex center for some vertices and at southeast position for others? ;)

    and second: is it possible to define more than one label for a vertex?

    i would like to generate stuff like this:

    where some vertices can have 2 labels, one for the type of operation and another one for a "subscript" :))

    thank u in advance :))

     
  • Joshua O'Madadhain

    We don't have direct support for either multiple labels or for labels in different positions.  However, it would not be difficult to hack that up yourself, I expect.

    Good luck!

    Joshua

     
  • Jordi Creus Tomàs

    I will try

    thanks Joshua

     
  • Sergey

    Sergey - 2012-04-01

    Hi, first i am sorry for my bad english.
    is there still no supported solution?
    I need also visualisation of a graph whith two different labels for each vertex.
    In modal logic i have to draw the frame whith the worlds. Each world is a Node whith a Name (first label) and has a set of variables (second label).

     
  • Joshua O'Madadhain

    We don't have plans to support this.  If someone wants to contribute support for this, we would consider including it in a later version, but JUNG is not intended to cover all possible visualization configurations.

    In the meantime be aware that you can include as much information as you like in an HTML label…we just don't support putting labels in > 1 place.

    Joshua

     

Log in to post a comment.