Skip to main content



      Home
Home » Modeling » Eclipse Layout Kernel » Best practice for resizing nodes with very much in/outgoing edges
Best practice for resizing nodes with very much in/outgoing edges [message #1752692] Thu, 26 January 2017 03:33 Go to next message
Eclipse UserFriend
Hello,

i need to improve the layouting (especially resizing) of nodes which have multiple in/outgoing edges (confusing edge chunk). I've attached an example picture with the current layouting result (Before) and i need similar solution like the "After" figure.

index.php/fa/28227/0/

My idea was to change statically the size of these nodes before layouting with calculating edge amount and padding of these edges/ edge to edge spacing.

But this would be a preprocessing, so my question is there a better approach to achieve this? Thank you in advance.

Best regards
M.Emin

[Updated on: Thu, 26 January 2017 03:35] by Moderator

Re: Best practice for resizing nodes with very much in/outgoing edges [message #1752694 is a reply to message #1752692] Thu, 26 January 2017 03:51 Go to previous messageGo to next message
Eclipse UserFriend
The option CoreOptions.NODE_SIZE_CONSTRAINTS controls how the node width and height are modified. If you include PORTS in that EnumSet, the number of edges incident to a node should affect the node size.
Re: Best practice for resizing nodes with very much in/outgoing edges [message #1752717 is a reply to message #1752694] Thu, 26 January 2017 07:57 Go to previous message
Eclipse UserFriend
Thanks for your answer, it works Smile.
Previous Topic:Changing node order (bring to front)
Next Topic:Edge merging points and edge crossing points
Goto Forum:
  


Current Time: Tue May 13 02:44:36 EDT 2025

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

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

Back to the top