SimpleGraphQ
SimpleGraphQ[g]
yields True if the graph g is a simple graph and False otherwise.
Examples
open allclose allScope (5)
SimpleGraphQ works with undirected graphs:
SimpleGraphQ works with large graphs:
Properties & Relations (8)
A graph with self-loops is not simple:
A simple graph can have a cycle:
A simple graph can be bipartite:
A PathGraph is always simple:
The adjacency matrix of a simple graph has zeros on the diagonal:
The incidence matrix of a simple graph has entries -1, 0, or 1:
All vertices of a simple graph have maximum degree less than the number of vertices:
A nontrivial simple graph must have at least one pair of vertices with the same degree:
Possible Issues (2)
A simple graph can have two edges between the same vertices but with opposite direction:
SimpleGraphQ gives False for non-explicit graphs:
Text
Wolfram Research (2010), SimpleGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/SimpleGraphQ.html.
CMS
Wolfram Language. 2010. "SimpleGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SimpleGraphQ.html.
APA
Wolfram Language. (2010). SimpleGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SimpleGraphQ.html