connector logic
@jdpipe
Submitted by John Pye Link to original bug (#439840)
Description
This is a 'would be nice'-type bug report. I realise that. :-)
When drawing a typical engineering-style process diagram, but really any type of diagram, in Dia (and other programs) one of the fiddly things is getting connector lines to match up horizontally and vertically.
The first problem seems to be that connector just don't go in the obvious spot. One solution I would suggest for that would be to look at some of the code for 'sketch recognition' and use that to take a cue from where the user draws the line, rather that only using the endpoints. This would probably be more fun to fix than most bug reports...
The second problem is that if items are not correctly aligned, eg they are almost level with each other, but the connector points don't quite line up, then the connector line has a tiny little 'step' in it. When such steps are quite small, it would be really nice if Dia could jiggle things around so that there was no need for a step. This would require a fairly smart little algorithm but it would make the lives of so many diagram-drawers so much better!
Note that this can happen even with 'snap to grid' turned on, it depends on the way the connectors are placed on the object: see the 'pressure vessel' for example in the process equipment library.
Version: 0.96.1