@Override
	public void mouseClicked(MouseEvent e) {
		if (selectedVertex == null) {
			return;
		}

		graphDisplay.setFocusedVertex((AttributedVertex) selectedVertex);

		// Note: do not consume the event.  We will just focus our vertex, regardless of further
		//       mouse event processing.
	}
A mouse plugin to focus a vertex when clicked

@param <V> the vertex type
@param <E> the edge type
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/mouse/JgtVertexFocusingPlugin.java