On Tue, 2013-07-30 at 09:57 +1000, Michael Wybrow wrote:
On 23/07/2013, at 9:07 PM, Sebastian Götte <jaseg@...2974...> wrote:
I will remove any logic from connector-context responsible for handling anything but two endpoints (if you want to draw a connector with multiple "stops", just chain together multiple connectors) and remove the "snap connector end point to connector's intersection with destination shape outline"-logic since I do not think this is too useful.
Do you mean the functionality that adjusts the endpoint of a connector to stop at the intersection with the destination shape? If so, the reason for this is that the arrowhead is drawn at the end of the connector and people frequently want this to coincide with the edge of the shape.
SVG 2 will have "marker knockouts" which address the issue of allowing arrowheads that end at the same place the path ends without the path sticking out. They are already defined in the SVG 2 draft but there is some disagreement as to how they are currently speced (I, for one, don't like having fixed shapes). See:
http://www.w3.org/TR/SVG2/painting.html#MarkerKnockout
Tav