I need to specify position of all graph's vertices. Is it possible? Please help.
Asked
Active
Viewed 2,042 times
2 Answers
3
If what you're saying is that you have existing vertex coordinates and you want to use those to lay out your graph in JUNG, that's what StaticLayout is for.

Joshua O'Madadhain
- 2,704
- 1
- 14
- 18
2
Classes in edu.uci.ics.jung.algorithms.layout used by edu.uci.ics.jung.visualization:
GraphElementAccessor: Interface for coordinate-based selection of graph components.
Layout: A generalized interface is a mechanism for returning (x,y) coordinates from vertices.
Described here.

Costis Aivalis
- 13,680
- 3
- 46
- 47