Showing ports on hover of the node for GoJs

Hello,

I would like to implement behaviour as described here

but for GoJS insead of GoXam.
Is it possible to do that ?

Alex.

The Flowchart sample does that: Flowchart

Note that the showPorts function does not set GraphObject.visible, but just properties to make the ports seen or unseen. The user cannot link to ports that are not visible, but can link to ports that are transparent.