public List<FcgVertex> getAllVerticesAtNewLevel() {

		// note: these are sorted, since they are housed in a TreeMap
		Set<FcgVertex> existingVertices = newVerticesBySource.keySet();

		//@formatter:off		
		LinkedHashSet<FcgVertex> sortedVertices = existingVertices
			.stream()
			.map(v -> newVerticesBySource.get(v))
	        .flatMap(set -> set.stream())
	        .filter(v -> v.getLevel().equals(expandingLevel)) // only include vertices not in graph
	        .collect(Collectors.toCollection(LinkedHashSet::new)) // unique, sorted by traversal from above
			;
		//@formatter:on

		return new ArrayList<>(sortedVertices);
	}
Returns all vertices that have just been added to the graph; those now being arranged

@return all vertices that have just been added to the graph; those now being arranged
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/job/FcgExpandingVertexCollection.java