Restricting line to be connected

Use property RequiresConnections to prevent lines to be inserted without being connected to some link point. Then continue using OnAcceptLink to filter which link points are accepted or not.