public static void addPaddingToRectangle(int padding, Rectangle rectangle) {
		rectangle.x -= padding;
		rectangle.y -= padding;
		rectangle.width += (padding * 2);
		rectangle.height += (padding * 2);
	}
Returns a rectangle that contains all vertices, in the layout space

@param vertices the vertices for which to calculate the bounds

@param vertexToBounds a function that can turn a single vertex into a rectangle
@return the bounds
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/GraphViewerUtils.java