public static <V extends VisualVertex, E extends VisualEdge<V>> Collection<V> 
		getVerticesOfHoveredEdges(Graph<V, E> graph) { 
	//@formatter:on

		return getVerticesOfSelectedOrHoveredEdges(graph, true);
	}
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