I want to build an graphical editor that draws and modifies graphs. The GEF-given "Auto-Arrange"-function is kind of too simple and not customizable. Is it possible to get JUNG/Graphviz auto-layouting and/or -arranging functions into my GEF editor?
Asked
Active
Viewed 447 times
0
-
I can now fully recommend JGraphX for that purpose. – fachexot Jun 25 '12 at 12:34
1 Answers
1
Regarding JUNG, there is no problem, but you would have to implement the following code:
- A GEF action that calls the layout algorithm.
- Transformation of your model to the model used by JUNG.
- Reading the results of the layout algorithm from JUNG and changing your model (using commands, of course).

vainolo
- 6,907
- 4
- 24
- 47