@Override
  public void execute(final CNodeExitState<NodeType, EdgeType> state, final MouseEvent event) {
    clearTooltip(state.getGraph());

    if (state.getNode().getGraph() != null) {
      // It's possible that the node was removed from the graph.

      unhighlightNode(state.getNode());
      unhighlightEdges(state.getNode());
    }

    final NodeType node = state.getGraph().getNode(state.getNode());

    if (node != null) {
      for (final IZyEditModeListener<NodeType, EdgeType> listener :
          state.getStateFactory().getListeners()) {
        // ESCA-JAVA0166: Catch Exception because we are calling a listener function
        try {
          listener.nodeLeft(node);
        } catch (final Exception exception) {
          // TODO: log this
        }
      }
    }

    state.getGraph().updateViews();
  }
Removes highlighting from the node that was exited.

@param node The node that was exited.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/editmode/actions/CDefaultNodeExitAction.java