Community
Participate
Working Groups
After I invoke the layout algorithm (i.e. DirectedGraphLayout), it reassigns the height and width to the node. This makes the graph look and feel inconsistent because all labels (I am drawing the nodes as Labels) now are of different sizes. As a result some of these labels wouldn't even contain the full text. Either: 1. There should be a option to specify that the width and height shouldn’t be changed during the layout 2. We shouldn’t preassign the width and height to the nodes and the layout should only take in the information about the available space and use it appropriately
Created attachment 114228 [details] fix patch + problems that follows from constant size The size of nodes may remain constant. The fix for that is attached. However, you'll get lots of issues with connection routing. Check out examples I've added to DirectedGraphDemo (from Draw2D examples plugin): 1. constantSizeNodes1 - this one looks good 2. constantSizeNodes_Problems - not so good anymore
Alex, I think I am confused if we wanted to commit the patch or not, since it does not fix the issue?