The user can draw new links either by the usual dragging from one port to another,
or by clicking on a port and then clicking on a valid target port.
A second click in the background is ignored; a second click on the original port,
as well as hitting the ESC key, will cancel the linking operation.