Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Getting coordinates from automatic layout
Getting coordinates from automatic layout [message #1409565] Mon, 18 August 2014 12:11
Nikola Badrov is currently offline Nikola BadrovFriend
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.

Previous Topic: HELP! SELECTIO FIGURE (SHAPE)
Next Topic:Under which circumstances can an existing EditPart be absent from the registry?
Goto Forum:
  


Current Time: Tue Mar 19 02:09:17 GMT 2024

Powered by FUDForum. Page generated in 0.03705 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top