community-edition
community-edition copied to clipboard
Straight and Flowchart Connectors drawn in reverse of Bezier and State Machine Connectors
It seems that the Straight and Flowchart connections draw the path from endpoint[1]
to endpoint[0]
, while Bezier and State Machine connectors draw from endpoint[0]
to endpoint[1]
, or maybe vice-versa.
Example: http://codepen.io/vertical3/pen/ZQxwqd
i dont think so..if you set an overlay at position 1, it always ends up at the target element, regardless of the connector type.
..oh you mean because of this animation stuff you're doing. maybe it's true. i don't consider this a bug though.
Fair enough.
If the path is indeed getting drawn from the opposite origin, it's not a bug so much as an inconsistency. Is there perhaps some other reason that might be happening?
Although this does affect my use case, the animation isn't completely relevant, it's more for showing the effect in this case. It would definitely cause problems if you were wanting to animate using dash-strokeoffset like I am, an outside library like Greensock's drawSVG, or someone who was trying to do layered dash-arrays I imagine. It could potentially cause other issues that I'm not aware of.
Might cause you headaches if you ever decide to move forward on that .sprout()
idea as well.
ah yes well moving forward with sprout means fixing these things.