Getting coordinates from automatic layout [message #1409565] |
Mon, 18 August 2014 12:11 |
Nikola Badrov Messages: 1 Registered: August 2014 |
Junior Member |
|
|
Hi,
I am new to everything around GEF, Zest etc. so I need your help.
I am given some nodes and relations in matrix and I need to perform automatic layout of graph that I will construct from matrix; then, obtain coordinates (both nodes and edges, bendpoints...) from that layout.
I tried with Zest, GridLayout is somewhat wanted layout but I cannot see a way to get location data.
So I tried alternative: Draw2D.
I created DirectedGraph instance, and succesfully got coordinates (only of nodes, though) but I don't know how to visualize that layout to see if it matches my needs (I want some kind of grid layout with orthogonal edges).
I went through some demo codes, but most of it is just drawing on canvas with given sizes, dimensions and shapes...
Any help, suggestions, information would be appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.03705 seconds