private void doExecute() {
		if (isFinished) {
			return;
		}

		if (graphIsEmpty()) {
			return;
		}

		for (VisualizationViewer<V, E> viewer : viewers) {
			Rectangle graphBounds = getTotalGraphSizeInLayoutSpace(viewer);
			boolean resized = scaleToFitViewer(viewer, graphBounds);
			if (resized) {
				centerGraph(viewer, graphBounds);
			}
		}

		isFinished = true;
	}
A job to scale one or more viewers such that the contained graph will fit entirely inside the
viewing area.

@param <V> the vertex type
@param <E> the edge type
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/FitGraphToViewJob.java