private TransitionPoints createTransitionPoint(Map<FGVertex, Point2D> destinationLocations,
			FGVertex vertex) {
		Point2D currentPoint = toLocation(vertex);
		Point2D startPoint = (Point2D) currentPoint.clone();

		Point2D endPoint = destinationLocations.get(vertex);
		if (endPoint == null) {
			// this can happen when the vertex is the group vertex being removed; just 
			// use the start point
			endPoint = startPoint;
		}

		Point2D destinationPoint = (Point2D) endPoint.clone();
		return new TransitionPoints(startPoint, destinationPoint);
	}
Constructor

@param controller the controller of the graph to be ungrouped
@param groupVertex The group vertex to be ungrouped
@param useAnimation whether to use animation
@param isPartOfUngroupAll true signals that this ungroup is part of a larger ungrouping
                          process
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/util/job/UngroupVertexFunctionGraphJob.java