I'd like to be able to connect two shapes in different ways than center to center.
For example: connect two squares at specific corners rather than center-to-center.
However, if I move the connection point, the connection gets lost and when I move any of the connected shapes, the connector doesn't move along with it.
I have found that there is a connector-start-point in the source code (see here) but I can't tell what it does.
Thanks. That works if you build the doc by hand. Since I was looking to manipulate it directly via python/SVG etc, maybe in an extension, I was wondering if that property actually did something.
I tried messing around in the SVG file but the question is "what do I set it to"?
Here's a workaround. Move this rectangle and connectors will follow.
Connectors are attached to a tiny ellipse grouped with the rectangle. Ungroup to attach another connector then regroup. Hide the little ellipse by setting it's opacity to zero.
I'd like to be able to connect two shapes in different ways than center to center.
For example: connect two squares at specific corners rather than center-to-center.
However, if I move the connection point, the connection gets lost and when I move any of the connected shapes, the connector doesn't move along with it.
I have found that there is a
connector-start-point
in the source code (see here) but I can't tell what it does.Any help?
Thanks!
Not sure if there is a legit way to relocate the anchor point, but in the meantime maybe this workaround...
Connect to some small objects and group to the target object:
Thanks. That works if you build the doc by hand. Since I was looking to manipulate it directly via python/SVG etc, maybe in an extension, I was wondering if that property actually did something.
I tried messing around in the SVG file but the question is "what do I set it to"?
I'd ask the developers on the Chat (separate login): https://chat.inkscape.org/channel/inkscape_user
Here's a workaround. Move this rectangle and connectors will follow.
Connectors are attached to a tiny ellipse grouped with the rectangle. Ungroup to attach another connector then regroup. Hide the little ellipse by setting it's opacity to zero.