Updated to allow only drawn links of a certain color to be marked as 'crossing'.