Is anyone working on connector handle improvement?
The Inkscape wiki page shows many requests that connectors should connect to user-specified connection points rather than connecting to the center of a shape. Is anyone working to add this functionality? If not, is it OK for me to try to add this? I do not wish to try it if someone else is already doing this.
Basically, I need this functionality so I can use Inkscape to replace Visio. Connector handles are the single most important Visio feature that is missing from Inkscape.
Approach:
Inkscape "almost" has this capability: If you add a small circle shape at the edge of a shape to which you wish to connect, you can then connect to the small circle. After you complete your connection, you can then group the small circle with the actual target: the SVG contains a perfectly reasonable description of the connector. Unfortunately, Inkscape will not automatically move the connector when you move the group, but if you ungroup, the connector is then redrawn properly. I propose to do the following:
1) correct the connector re-draw code to work when the target is in a group.
2) add a new attribute to a shape: "connector target.".
3) when a group has top-level members that have the "connector target" attribute, then make these targets (rather than the group's center) visible when the connector tool is selected and the cursor is within the group.
This will take me awhile, since I have not yet even begun to look at the code.
Note that, while a typical handle will be a small invisible circle or rectangle, there is no requirement for this. the user may choose to use any shape as a handle within a group, by setting the "connector target" attribute on that shape.
In practice, I would create a collection of shapes in a "stencil" file. Each shape would be a group with the appropriate handles.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Inkscape Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jazzynico
- Solved:
- Last query:
- Last reply: