Community
Participate
Working Groups
Build ID: I20080530-1730 Steps To Reproduce: I have a Node figure (A) with a border item (B). The border item itself has an object C (e.g. a label), which itself is a border item to B: ---------------- | | | |----- | A | B | | |----- | |Label C | | ---------------- Connections are between the first border items (B). More information: The BorderItemRectilinearRouter depends on some places that the parent of B is A, resp. the BorderItemContainerFigure of A. In this example this is not the case: The parent of Figure B is its BorderedNodeFigure, because it itself has a border item and therefore a wrapper around B for B and C. Problems are in the methods getBorderFigurePosition and getObstacle. I fixed this by asking for this special case and setting parent accordingly. See attachment. Without the fix the main purpose of the router to avoid parent overlapping is not functioning.
Created attachment 105498 [details] Extension of the BorderItemRectilinearRouter to show the methods to fix
[GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug