initToolTips() {
      const groups = Object.values(this.element.getElementsByClassName("circle-node"));
      groups.forEach((group) => {
        group.addEventListener("mouseover", (e) => {
          this.utility.showToolTips(e);
          this.setNodeState("over", e);
        });
        group.addEventListener("mouseout", (e) => {
          this.utility.hideToolTips(e);
          this.setNodeState("out", e);
        });
      });
    }
/**
     * Initialize every node element of a graph by setting event listeners on each node.
     * @returns {void}
     */
Initialize every node element of a graph by setting event listeners on each node.
@returns {void}
Initialize every node element of a graph by setting event listeners on each node . @returns { void }
initToolTips() {
      const groups = Object.values(this.element.getElementsByClassName("circle-node"));
      groups.forEach((group) => {
        group.addEventListener("mouseover", (e) => {
          this.utility.showToolTips(e);
          this.setNodeState("over", e);
        });
        group.addEventListener("mouseout", (e) => {
          this.utility.hideToolTips(e);
          this.setNodeState("out", e);
        });
      });
    }
initToolTips ( ) { const groups = Object . values ( this . element . getElementsByClassName ( "circle-node" ) ) ; groups . forEach ( ( group ) => { group . addEventListener ( "mouseover" , ( e ) => { this . utility . showToolTips ( e ) ; this . setNodeState ( "over" , e ) ; } ) ; group . addEventListener ( "mouseout" , ( e ) => { this . utility . hideToolTips ( e ) ; this . setNodeState ( "out" , e ) ; } ) ; } ) ; }
Initialize every node element of a graph by setting event listeners on each node.
Initialize every node element of a graph by setting event listeners on each node .