private E ensureEdgeUpToDateSwing(E edge) {

		V start = edge.getStart();
		V end = edge.getEnd();

		// a 'contains' lookup is faster than the search required by the 'find' below
		boolean containsStart = graph.containsVertex(start);
		boolean containsDestination = graph.containsVertex(end);
		if (containsStart && containsDestination) {
			return edge;
		}

		// At least one of the vertices is no longer in the graph.  Find the equivalent and
		// then get the new edge.
		V newStart = findMatchingVertexSwing(start);
		V newEnd = findMatchingVertexSwing(end);
		return graph.findEdge(newStart, newEnd);
	}
Signals to this path highlighter that it should stop all background jobs
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java