public static <V, E> Point translatePointFromVertexRelativeSpaceToViewSpace(
			VisualizationServer<V, E> viewer, V vertex, Point startPoint) {

		Point vertexUpperLeftCornerInGraphSpace =
			getVertexUpperLeftCornerInGraphSpace(viewer, vertex);

		int relativeX = vertexUpperLeftCornerInGraphSpace.x + startPoint.x;
		int relativeY = vertexUpperLeftCornerInGraphSpace.y + startPoint.y;
		Point pointInGraphSpace = new Point(relativeX, relativeY);

		return translatePointFromGraphSpaceToViewSpace(pointInGraphSpace, viewer);
	}
Get the upper-left point of vertex in the view space (Java component space)
 
@param viewer the viewer containing the UI 
@param vertex the vertex
@return the upper-left point of the vertex
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/GraphViewerUtils.java