public static <V, E> void adjustEdgePickSizeForZoom(VisualizationServer<V, E> viewer) {
		GraphElementAccessor<V, E> pickSupport = viewer.getPickSupport();
		if (!(pickSupport instanceof ShapePickSupport<?, ?>)) {
			return;
		}
		ShapePickSupport<V, E> shapePickSupport = (ShapePickSupport<V, E>) pickSupport;

		Double graphScale = getGraphScale(viewer);
		float adjustedPickSize = (float) (UNSCALED_EDGE_PICK_SIZE / graphScale);
		shapePickSupport.setPickSize(adjustedPickSize);
	}
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