public static <V, E extends GEdge<V>> Set<E> getEdgesFrom(GDirectedGraph<V, E> g, V v,
			boolean topDown) {

		List<V> list = Arrays.asList(v);
		Set<E> edges = getEdgesFrom(g, list, topDown);
		return edges;
	}
Returns a set of all edges that are reachable from the given vertex.

@param g the graph
@param v the vertex for which to get edges
@param topDown true for outgoing edges; false for incoming edges
@return the set of edges
Ghidra/Framework/Graph/src/main/java/ghidra/graph/GraphAlgorithms.java