Skip to main content



      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 06:59 Go to next message
Eclipse UserFriend
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 07:00] by Moderator

Re: Child node connection Issue [message #1818087 is a reply to message #1818086] Thu, 05 December 2019 07:14 Go to previous messageGo to next message
Eclipse UserFriend
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 07:07 Go to previous message
Eclipse UserFriend
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: Tue May 13 16:00:45 EDT 2025

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

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

Back to the top