Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Eclipse Layout Kernel » Child node connection Issue(The child nodes connections are not layout properly)
Child node connection Issue [message #1818086] Thu, 05 December 2019 11:59 Go to next message
Sumesh Kannankatil Sadanandan is currently offline Sumesh Kannankatil SadanandanFriend
Messages: 4
Registered: September 2019
Location: Stuttgart
Junior Member
Hi Experts,

I am facing some issue in connecting the child nodes in ELK. The alignment of the connections are not proper as shown below.

index.php/fa/36913/0/

I am also attaching the project file along with this. Please check and help me out. Also if anymore information is required please post it here.

Thank you!

[Updated on: Thu, 05 December 2019 12:00]

Report message to a moderator

Re: Child node connection Issue [message #1818087 is a reply to message #1818086] Thu, 05 December 2019 12:14 Go to previous messageGo to next message
Christoph Daniel Schulze is currently offline Christoph Daniel SchulzeFriend
Messages: 98
Registered: September 2015
Member
This looks similar to the other issue you reported previously. Take another look at the ELK coordinate system. Note that the coordinates of edge bend points are always relative to the upper left corner of the node the edge is contained in. ElkUtil or ElkGraphUtil contain methods to turn relative coordinates into absolute coordinates, if that is helpful to you.
Re: Child node connection Issue [message #1818280 is a reply to message #1818087] Wed, 11 December 2019 12:07 Go to previous message
Sumesh Kannankatil Sadanandan is currently offline Sumesh Kannankatil SadanandanFriend
Messages: 4
Registered: September 2019
Location: Stuttgart
Junior Member
Thanks for the reply. It worked out well by using the ElkUtil.toAbsolute(KVector point, ElkNode parent).

index.php/fa/36956/0/

I felt it would be useful for others to know how to use the function with an example. I am also attaching the fixed code here.
Previous Topic:Same level of nodes
Next Topic:Layered algorithm layers customization
Goto Forum:
  


Current Time: Sun Apr 18 17:47:36 GMT 2021

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

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

Back to the top