Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Multiple arrows on diagrams (Draw2d)
Multiple arrows on diagrams (Draw2d) [message #166359] Mon, 31 January 2005 14:39 Go to next message
Eclipse UserFriend
Originally posted by: steffen64{removethis}.hotmail.com

Hi,
The following is more of a Draw2D question. If there is a better place to
post it, please let me know.

I am working on an editor with class diagram-like boxes. Some of them need
to be connected with several arrows. It seems to me that the current
implementation of connection routers do not allow for an easy way of
having multiple arrows between two points without overlapping.

I need some sort of automatic addition of bendpoints on a
BendPointConnectionRouter or something like that. Has anyone come across
an example or has solved that problem in an easy way? To write code that
on every figure update recalculates manual bendpoints seems a bit too
tedious to me.

Thanks in advance for any help.

Regards
Steffen
Re: Multiple arrows on diagrams (Draw2d) [message #166363 is a reply to message #166359] Mon, 31 January 2005 15:16 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See AutomaticRouter, and the provided subclass FanRouter.
"Steffen Andersen" <steffen64{removethis}@hotmail.com> escreveu na mensagem
news:ctlfvq$3b1$1@www.eclipse.org...
> Hi,
> The following is more of a Draw2D question. If there is a better place to
> post it, please let me know.
>
> I am working on an editor with class diagram-like boxes. Some of them need
> to be connected with several arrows. It seems to me that the current
> implementation of connection routers do not allow for an easy way of
> having multiple arrows between two points without overlapping.
>
> I need some sort of automatic addition of bendpoints on a
> BendPointConnectionRouter or something like that. Has anyone come across
> an example or has solved that problem in an easy way? To write code that
> on every figure update recalculates manual bendpoints seems a bit too
> tedious to me.
>
> Thanks in advance for any help.
>
> Regards
> Steffen
>
>
Previous Topic:Flowchart designer
Next Topic:Get Focus
Goto Forum:
  


Current Time: Thu Apr 25 21:29:34 GMT 2024

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

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

Back to the top