UndirectedGraphQ
Examples
open allclose allBasic Examples (2)
Test whether a graph is undirected:
UndirectedGraphQ gives False for inputs that are not undirected graphs:
Scope (6)
UndirectedGraphQ works with undirected graphs:
UndirectedGraphQ gives False for anything that is not an undirected graph:
UndirectedGraphQ works with large graphs:
Properties & Relations (5)
The empty graphs are undirected graphs:
An undirected graph can have self-loops:
A graph is either undirected or directed:
A symmetric adjacency matrix is interpreted to be an undirected graph:
Use DirectedEdges->True to interpret it as a directed graph:
The incidence matrix of an undirected graph has no negative entries:
Possible Issues (1)
UndirectedGraphQ gives False for non-explicit graphs:
Text
Wolfram Research (2010), UndirectedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/UndirectedGraphQ.html.
CMS
Wolfram Language. 2010. "UndirectedGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UndirectedGraphQ.html.
APA
Wolfram Language. (2010). UndirectedGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UndirectedGraphQ.html