lib/diagram/nested/operator.js
/**
   * Set event handlers to Node rectangles/labels.
   * @private
   */
Set event handlers to Node rectangles/labels.
@private
Set event handlers to Node rectangles / labels . @private
_setNodeMouseHandler() {
    const nodeClick = (event, d) => {
      if (this.isAggregated(d)) {
        return
      }
      this.clearAllAlertHighlight()
      this.operativeNodesByName(d.name).forEach((node) => {
        this.highlight(node, 'selected')
      })
      this.nodeClickHook(d)
    }
    const nodeMouseOver = (event, d) => {
      this.setSelectReady(d)
      this.tooltip.enableTooltip(event, d, nodeClick)
    }
    const nodeMouseOut = (event, d) => {
      this._clearAllSelectReady()
      this.tooltip.disableTooltip(d)
    }
    const nodes = [this._selectNodeRectByPath(), this._selectNodeLabelByPath()]
    nodes.forEach((target) => {
      target
        .on('click', nodeClick)
        .on('mouseover', nodeMouseOver)
        .on('mouseout', nodeMouseOut)
    })
  }
_setNodeMouseHandler ( ) { const nodeClick = ( event , d ) => { if ( this . isAggregated ( d ) ) { return } this . clearAllAlertHighlight ( ) this . operativeNodesByName ( d . name ) . forEach ( ( node ) => { this . highlight ( node , 'selected' ) } ) this . nodeClickHook ( d ) } const nodeMouseOver = ( event , d ) => { this . setSelectReady ( d ) this . tooltip . enableTooltip ( event , d , nodeClick ) } const nodeMouseOut = ( event , d ) => { this . _clearAllSelectReady ( ) this . tooltip . disableTooltip ( d ) } const nodes = [ this . _selectNodeRectByPath ( ) , this . _selectNodeLabelByPath ( ) ] nodes . forEach ( ( target ) => { target . on ( 'click' , nodeClick ) . on ( 'mouseover' , nodeMouseOver ) . on ( 'mouseout' , nodeMouseOut ) } ) }
Set event handlers to Node rectangles/labels.
Set event handlers to Node rectangles / labels .
// disable node click (nothing to do) for aggregated node.