@Override
	public void mousePressed(MouseEvent e) {
		if (!checkModifiers(e)) {
			return;
		}

		if (e.getClickCount() != 2) {
			return;
		}

		if (!checkForVertex(e)) {
			return; // no vertex clicked, nothing to do
		}

		isHandlingMouseEvents = true;
		e.consume();
	}
A handler to zoom nodes when double-clicked.  If the vertex is zoomed out, then we will zoom
in and center.  If the vertex is zoomed to full size, then we will zoom out and center.

@param <V> the vertex type
@param <E> the edge type
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/event/mouse/VisualGraphZoomingPickingGraphMousePlugin.java