yields True if the graph g is a directed graph and False otherwise.
Examplesopen allclose all
Basic Examples (2)
Test whether a graph is directed:
DirectedGraphQ gives False for inputs that are not directed graphs:
DirectedGraphQ works with undirected graphs:
DirectedGraphQ gives False for anything that is not a directed graph:
DirectedGraphQ works with large graphs:
Properties & Relations (3)
Possible Issues (1)
DirectedGraphQ gives False for non-explicit graphs:
Wolfram Research (2010), DirectedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/DirectedGraphQ.html.
Wolfram Language. 2010. "DirectedGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DirectedGraphQ.html.
Wolfram Language. (2010). DirectedGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DirectedGraphQ.html