Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Weird connection behaviour
Weird connection behaviour [message #490511] Thu, 08 October 2009 21:17 Go to next message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member
Hi,

I noticed a weird behaviour on my diagram. Sometimes the connections go bizarre and become huge. They just have two bendpoint and go way down or up:

_ _
l l
l l
l l
l l
l l
l l
l_l

like that (for a little visualisation help Smile - looks weird, I know)

I don't have any error in the log. If I check the option avoid obstacles or shortes distance in the properties that effect is gone. But I can't get rid of it in the default way.

Anyone noticed something like that?

Best regards,
Artur
Re: Weird connection behaviour [message #490683 is a reply to message #490511] Fri, 09 October 2009 16:55 Go to previous messageGo to next message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello Artur,

Well, I doubt I can suggest anything reasonable here.. It's weird! :-)
You can try debuigging connection figure to see when/why and who set different
width parameter for it.. I think the problem is in the width of conection
line, right?

-----------------
Alex Shatalin
Re: Weird connection behaviour [message #490691 is a reply to message #490683] Fri, 09 October 2009 17:34 Go to previous messageGo to next message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member
Hello Alex,

I don't think it's the width. I mean the two connected editparts have still the same distance. It seems like the algorithm suggests this bend points but that is ok. The only thing is, that the connection goes waaaaaayyy down and up again without any reason.

Right now I enabled avoide obstacles. This looks a little bit more ugly on my diagram, but at least the connections down do that weird jump.

I will try debugging it, but right now i don't really know who is responsible for figureing out where the bend points should be.

Best regards,
Artur

Alex Shatalin wrote on Fri, 09 October 2009 12:55
Hello Artur,

Well, I doubt I can suggest anything reasonable here.. It's weird! Smile
You can try debuigging connection figure to see when/why and who set different
width parameter for it.. I think the problem is in the width of conection
line, right?

-----------------
Alex Shatalin

Re: Weird connection behaviour [message #490703 is a reply to message #490691] Fri, 09 October 2009 18:13 Go to previous message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello Artur,

If you can see that bendpoint will be added to the connection somehow, then
you can try debugging EdgeImpl.getBendpoints() method to see where is it
called...

-----------------
Alex Shatalin
Previous Topic:GMF "philosophical" question
Next Topic:unsynchronized editors on the same model
Goto Forum:
  


Current Time: Sat Apr 27 03:39:38 GMT 2024

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

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

Back to the top