Community
Participate
Working Groups
The documentation for FixPointAnchors/BoxRelativeAnchors needs to be improved. Currently it is not clear where the connection starts or ends. Is it the center of the anchor's GA or the location of the FixPointAnchor (or in case of a BoxRelativeAnchor the calculated location)? How can it be achieved that connections starting precisely from the border?
Marked as enhancement
More than that, the general concepts are unclear: - What defines the "anchor area"? (the are that will act as an anchor when starting a connection)? It seems to be the main GA assigned to the anchor, but I'm not sure. - What is a "referencedGraphicAlgorihm" ? (seems to determine the "border" at which the "reference point" lies, but again, I'm not sure) - How does positioning work? When one assigns a GA to an anchor and sets its position to point (30,40), this coordinates are relative to ... what ? can they be negative ? See http://www.eclipse.org/forums/index.php/t/254053/
I have polished the chapter "Anchors" in the tutorial. There is now an example with a code snippet that a connection "starts precisely from the border". I have also added a "definition" of an anchor and the role of its graphical representation. The existing code snippets are adjusted according to anchors which are located within a shape. How to render the graphical representation of an anchor which has an location outside of the shape is explained later on in chapter "Selection "Behavior".
Bookkeeping: Set target release
Part of Graphiti 0.9.0 (Eclipse Juno)