private Set<E> getFlowEdgesForVertexAsync(boolean isForward, Map<V, Set<E>> cache, V v) {

		if (v == null) {
			return null;
		}

		Set<E> flowEdges = cache.get(v);
		if (flowEdges == null) {
			flowEdges = new HashSet<>();
			Set<E> pathsToVertex = GraphAlgorithms.getEdgesFrom(graph, v, isForward);
			flowEdges.addAll(pathsToVertex);
			cache.put(v, flowEdges);
		}
		return Collections.unmodifiableSet(flowEdges);
	}
Signals to this path highlighter that it should stop all background jobs
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java