DirectedGraphQ

DirectedGraphQ[g]
yields True if the graph g is a directed graph and False otherwise.

DetailsDetails

  • A graph is directed if it contains at least one edge, and every edge in the graph is directed.
Introduced in 2010
(8.0)