Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Avoiding overlapping figures
Avoiding overlapping figures [message #239662] Wed, 07 November 2007 15:26
Eclipse UserFriend
Originally posted by: malloovidio.bluewin.ch

Hi all,

I am writing a graphical editor in GEF which basically draws
several function lines which are composed of individual straight
line segments (modeled by connections between the two adjacent
function points). In addition, some of those line segments are given a
label describing them.

My problem is that I have to layout those labels in such a way that
(whenever possible):
- the individual labels do not overlap with each other
- the individual labels do not overlap with the individual line
segments

To me, it seems as if I need some sort of global layout algorithm
which decides where to place the individual labels. As this seems
to be non-trivial, I wanted to ask whether GEF itself has any support
for this kind of "optimal" layout arrangement or whether there is some
other library which addresses this issue?

I hope my explanation is clear enough and I would very much
appreciate any feedback. Thanks a lot in advance!

Regards,
Ovidio
Previous Topic:How to Convert a java file to "IType" ?
Next Topic:Hiding an editor
Goto Forum:
  


Current Time: Thu Apr 25 17:03:10 GMT 2024

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

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

Back to the top