private Map<FcgVertex, Point2D> getExistingLocations(List<FcgVertex> vertices) {

		Map<FcgVertex, Point2D> locations = new HashMap<>();
		for (FcgVertex v : vertices) {
			Point2D p = toLocation(v);
			if (p.getX() == 0 && p.getY() == 0) {
				// no location for this vertex--we have to build them
				return new HashMap<>();
			}
			locations.put(v, (Point2D) p.clone());
		}
		return locations;
	}
Constructor

@param viewer the graph viewer
@param newVertexCollection the collection of new vertices and edges being addeds
@param useAnimation true to use animation
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/job/BowTieExpandVerticesJob.java