public Set<E> getAllEdges(Set<V> sourceVertices) {

		Set<E> connectedEdges = new HashSet<>();
		for (V vertex : sourceVertices) {
			connectedEdges.addAll(CollectionUtils.nonNull(completeGraph.getIncidentEdges(vertex)));
		}
		return connectedEdges;
	}
Returns all edges connected to the given vertices.

<P>This method is needed if you wish to find relationships that have been filtered 
out.

@param sourceVertices the vertices for which to get the edges
@return the reachable edges
Ghidra/Framework/Graph/src/main/java/ghidra/graph/graphs/FilteringVisualGraph.java