|
|
| Re: Manhattan Connection routing [message #1003563 is a reply to message #1003523] |
Mon, 21 January 2013 09:19   |
|
Yes, that's exactly right; I use a LayoutFeature to apply routing constraints to a FreeFormConnection "after the fact", that is after a Connection handle has been added, moved or removed, after a connected Shape has been moved or resized, or one of the FixPointAnchors has been moved.
Not sure how easy this would be to add to an EditPart - I haven't looked at GEF in a long time, so would have to familiarize myself with this again. The routing algorithm itself is relatively simple and I'm sure the concepts could be reused easily enough.
|
|
|
| Re: Manhattan Connection routing [message #1004021 is a reply to message #1003563] |
Tue, 22 January 2013 07:54  |
Michael Wenz Messages: 1267 Registered: July 2009 Location: Walldorf, Germany |
Senior Member |
|
|
Thanks,
I think this would be interesting for the framework as well, but I would
need some hands-on to get an impression what introducing such a layout
feature would mean for clients using it.
I have just opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=398730 to
track possible Manhattan improvements. Could you please add your idea to
that bug, describe the usage and maybe add the layout feature (in case you
would like to contribute it)?
Thanks,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.01764 seconds