views:

17

answers:

0

I have been using JGraphX to display some data (simple discrete graphs) and I would like to know how to do the following things with the JGraphX library:

  • Make all edges unmovable but still allow the user to create an edge between two vertices
  • Make all vertices and edges uneditable (they cannot edit what is displayed on them)
  • How do I get the selected vertex or edge at any given time?
  • Make all vertex boxes unresizable to the user
  • How do I modify the colour of each vertex's box?

Thanks, ExtremeCoder