MultigraphQ
MultigraphQ[g]
yields True if the graph g is a multigraph and False otherwise.
Examples
open allclose allBasic Examples (2)
Test whether a graph has multiple edges:
MultigraphQ gives False for inputs that are not graphs with multiple edges:
Scope (2)
Properties & Relations (2)
A PathGraph has no multiple edges:
The adjacency matrix of a graph with multiple edges has some entries greater than 1:
Possible Issues (1)
MultigraphQ gives False for non-explicit graphs:
Text
Wolfram Research (2014), MultigraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MultigraphQ.html.
CMS
Wolfram Language. 2014. "MultigraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MultigraphQ.html.
APA
Wolfram Language. (2014). MultigraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MultigraphQ.html