public void selectVertex(boolean addToSelection) {
		// when the user manually clicks a vertex, we no longer want an edge selected
		PickedState<E> pickedEdgeState = viewer.getPickedEdgeState();
		pickedEdgeState.clear();
		if (isVertexSelected()) {
			return;
		}

		GPickedState<V> pickedState = viewer.getGPickedVertexState();
		pickedState.pickToSync(vertex, addToSelection);
	}
Selects, or 'pick's the given vertex.  

@param addToSelection true signals to add the given vertex to the set of selected vertices;
                      false signals to clear the existing selected vertices before selecting
                      the given vertex
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/event/mouse/VertexMouseInfo.java