@Override
	Rectangle getCursorBounds() {
		Set<FGVertex> vertices = groupVertex.getVertices();
		for (FGVertex v : vertices) {
			Rectangle cursorBounds = v.getCursorBounds();
			if (cursorBounds != null) {
				return cursorBounds;
			}
		}
		return null;
	}
A bit of a hack that triggers the text area to update its preferred height now before we
render so that it doesn't change later.
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/vertex/GroupedFunctionGraphComponentPanel.java