Inkscape.org
Beyond the Basics Can I set the connecion point exactly with connectors?
  1. #1
    iamatloos iamatloos @iamatloos

    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!

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    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:

  3. #3
    iamatloos iamatloos @iamatloos

    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"?

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    I'd ask the developers on the Chat (separate login): https://chat.inkscape.org/channel/inkscape_user

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    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.

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Can I set the connecion point exactly with connectors?