validateMagnet(cellView, magnet)
- decide whether to create a link if the user clicks a magnet. magnet
is the DOM element representing the magnet. By default, this function returns true
for magnets that are not explicitely set to "passive" (which is usually the case of input ports).