private GroupedFunctionGraphVertex removeFromGroup(FGVertex oldVertex,
			GroupedFunctionGraphVertex oldGroup) {
		Set<FGVertex> toRemove = new HashSet<>();

		Set<FGVertex> vertices = oldGroup.getVertices();
		for (FGVertex vertex : vertices) {
			if (vertex.equals(oldVertex)) {
				toRemove.add(vertex);
			}

			if (!(vertex instanceof GroupedFunctionGraphVertex)) {
				continue;
			}

			GroupedFunctionGraphVertex newGroup =
				removeFromGroup(oldVertex, (GroupedFunctionGraphVertex) vertex);

			if (newGroup != null) {
				// the vertex has been removed--update out vertices
				groupVertices.remove(oldGroup);
				groupVertices.add(newGroup);
			}
		}

		return oldGroup.removeAll(toRemove);
	}
Signals that the user has changed the text of a group node and that and this pre-existing
info needs to update.

@param text The new text
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/vertex/GroupHistoryInfo.java