
Hey Joakim,
My approach is... a combination of existing structures to create the desired function without actually writing anything new (as such). That's the the patch is about 40 lines and it took me 6 hours to write, even though I spent half my time learning more about the inkscape code base.
It might be that by reconsidering the problem of connector points, we can avoid writing clever code and just stick to simple mechanisms.
On Fri, 2011-09-30 at 15:49 +0200, joakim@...1974... wrote:
I wanted to try your hack. I checked out the code but can't seem to figure out how to enable it.
Also, I'm curious why the connector redrawing in your video seems to be done at the same time the connected object moves. In my case the connectors are only redrawn after the object move is finished.
Do you move the objects with keyboard?
I move objects with mouse and keyboard, the signals only redraw after the signal is finished. Just as your probably does.
You need to create a group of objects, and inside that group create some rectangles. Leave the group and try the connector again.
Martin,