public static <V, E> void setGraphScale(VisualizationServer<V, E> viewer, double scale) {
		RenderContext<V, E> renderContext = viewer.getRenderContext();
		MultiLayerTransformer multiLayerTransformer = renderContext.getMultiLayerTransformer();
		MutableTransformer viewTransformer = multiLayerTransformer.getTransformer(Layer.VIEW);
		viewTransformer.setScale(scale, scale, new Point(0, 0));
	}
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