Arrowhead to input port proximity event

We would like to highlight the arrowhead and the inner lining of the input port when the link is in proximity of the node. Is it possible to do that?

variableheight

This will be the structure of the node.

Yes, on both linking tools you can set LinkingBaseTool | GoJS API to a function that modifies the temporary port.