| Summary: | Grid-based layout algorithms reserve too much space. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> | ||||||
| Component: | GEF Layout | Assignee: | gef-inbox <gef-inbox> | ||||||
| Status: | RESOLVED INVALID | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | nyssen | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
I have taken a closer look into GridLayoutAlgorithm. Indeed, it does not reserve too much space, but all nodes are placed with top-left alignment within their respective grid cell. I have opened bug #493178 to keep track of enhancing GridLayoutAlgorithm respectively). Created attachment 261532 [details]
Sugiyama layout example - Neon M7.
The SugiyamaLayoutAlgorithm in contrast places nodes to be center-aligned. As demonstrated by the screenshot, it now seems to place nodes as desired. I assume that here, the problem was not related to the layout algorithm, but to some problem within Zest. Resolving this as INVALID. |
Created attachment 248155 [details] SugiyamaLayoutAlgorithm reserves too much space Some of the algorithms in GEF4 Layout are grid-based, i.e. they compute an internal grid on which nodes are layed out (GridLayoutAlgorithm, SugiyamaLayoutAlgorithm). When computing the internal grid, too much space is reserved to lay out nodes. This leads to undesirable free space in the bottom and right canvas area as you can see in the attached screenshot.