• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

gef layout

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I have trouble with gef layout. I have a map storing some key-value pairs, and I want to display all of them. some of them have connections and some of them do not have. The number of values in the map varies in the run time. so I need to auto arrange all the nodes in the editor. anyone can suggest what kind of method I can use?
I thougt of xylayout, but I am not sure about how to caculate the position of each relation.

Thanks,
 
Sheriff
Posts: 22791
131
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is this "gef layout"?
 
con wan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Prime wrote:What is this "gef layout"?



sorry, gef is graphical editing framework, it has some its own layout managers, such as XYlayout or directgraphlayout, and also uses the draw2d layouts. As it is also about the GUi, so I put it here. thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic