Highlighting connected ports

@walter when i click on the link the link is highlighted . from and to port are not highlighted. am using forced Directed layout

What is your code for doing this?

Friend Wheel | GoJS demonstrates highlighting both the link and the connected ports when the mouse passes over a link.