Skip to content


Dia – Joining Lines where they Cross over Each Other

Dia is a great Open Source diagramming program that has extensive `shape’ libraries for a lot of different applications (I use it for drawing network diagrams and flow-charts).

When using Dia one of the questions that arises fairly regularly is:

Is it possible to create a node at line crossing points? or at arbitrary position on a line?

The short answer is no.

In Dia you can’t join lines where they cross. Lines do have connection points by default. When you create a Line you get a Connection Point on both ends and one in the middle. When you right click the Line and add another Connection Point all the mid-line Connection Points are relocated so they are equi-distant along the line. You can’t join a mid-line connection point to another mid-line connection point. You can only join a line-end Connection Point to a mid-line Connection Point.

So to get a node at a line cross over point you need another technique. The answer was succinctly put on the Dia users mailing list:

Go to the “electric” symbols and find the crossed-wire terminator dot.
Use this at the end and/or start of a line to make a node that can be
resized and can be used to terminate lines or symbols. Other things
will snap to this node symbol.

Here is a graphic showing the use of the “Electric” shapes libraries “Connection Point” shape
Dia - Joining Lines where they Crossover Each Other

Dia - Joining Lines where they Crossover Each Other

The Dia Manual may help you too.

Bookmark and Share

Posted in IT Tips, Open Source Apps.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.