protected void clickVertex(AbstractTestVertex v, int xOffset, int yOffset, int clickCount) {

		AbstractTestVertex preClickFocused = swing(() -> graph.getFocusedVertex());

		Msg.debug(this, "clicking vertex: " + v);

		GraphViewer<AbstractTestVertex, TestEdge> viewer = graphComponent.getPrimaryViewer();
		Point p = getViewLocation(v);
		int x = p.x + xOffset;
		int y = p.y + yOffset;
		clickMouse(viewer, MouseEvent.BUTTON1, x, y, clickCount, 0);
		waitForSwing();

		AbstractTestVertex focused = swing(() -> graph.getFocusedVertex());

		Msg.debug(this, "pre-click focused: " + preClickFocused);
		Msg.debug(this, "post-click focused: " + focused);
		Msg.debug(this, "expected focused: " + v);
		Msg.debug(this, "actual focused: " + focused);

		if (!v.equals(focused)) {

			assertEquals("Clicking the vertex did not select it", v, focused);
		}
	}
Moves the given vertex as necessary so that it is not touching any other vertex

@param v the vertex
Ghidra/Framework/Graph/src/test.slow/java/ghidra/graph/viewer/AbstractVisualGraphTest.java