private double getZoom() {
		if (graphComponent == null) {
			if (graphInfo != null) {
				return graphInfo.getZoom();
			}
			return 1d;
		}
		return GraphViewerUtils.getGraphScale(getPrimaryGraphViewer());
	}
Sets the perspective for this view

@param newPerspective the new perspective
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/VisualGraphView.java