How to draw this link?

How to this link Drawing??

For straight links, you might be interested in [EDIT: obsolete]

For orthogonal links Iā€™m not so sure. How was the point at which the stroke switched from dashed to solid determined in your screenshot? What would happen if one of the nodes was moved?

This is obsolete ā€“ please see Gradient Link or two coloured link