function onNodeMouseOverOut(nodes, links, enter, targetNode)
   {
      // If there is an existing selected node then exit early.
      if (isNodeSelected()) { return; }

      // Select / highlight related nodes or remove attributes based on enter state.
      fadeRelatedNodes(targetNode, enter, nodes, links);
   }
function onNodeMouseOverOut(nodes, links, enter, targetNode)
   {
      
      if (isNodeSelected()) { return; }

      
      fadeRelatedNodes(targetNode, enter, nodes, links);
   }
function onNodeMouseOverOut ( nodes , links , enter , targetNode ) { // If there is an existing selected node then exit early. if ( isNodeSelected ( ) ) { return ; } // Select / highlight related nodes or remove attributes based on enter state. fadeRelatedNodes ( targetNode , enter , nodes , links ) ; }
Handles fading related nodes to the given `targetNode` if there is no currently selected node.

@param {Array}    nodes - All graph nodes.
@param {Array}    links - All graph links.
@param {boolean}  enter - true when mouse entering / false when mouse exiting.
@param {object}   targetNode - The target node.
Handles fading related nodes to the given targetNode if there is no currently selected node .