protected GDirectedGraph<V, E> getDominanceGraph(VisualGraph<V, E> visualGraph,
			boolean forward) {

		Set<V> sources = GraphAlgorithms.getSources(visualGraph);
		if (!sources.isEmpty()) {
			return visualGraph;
		}

		return null;
	}
Sets the callback that signals when this path highlighter should not be performing any
work

@param pauser the callback that returns a boolean of true when this class should pause
       its work.
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/edge/VisualGraphPathHighlighter.java