MultigraphQ
✖
MultigraphQ
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Test whether a graph has multiple edges:

https://wolfram.com/xid/0mk5icq5hdtv-edhy8a


https://wolfram.com/xid/0mk5icq5hdtv-f9w1u8

MultigraphQ gives False for inputs that are not graphs with multiple edges:

https://wolfram.com/xid/0mk5icq5hdtv-blilb2


https://wolfram.com/xid/0mk5icq5hdtv-i269gu

Scope (2)Survey of the scope of standard use cases
MultigraphQ gives False for expressions that are not graphs:

https://wolfram.com/xid/0mk5icq5hdtv-s7turc

MultigraphQ works with large graphs:

https://wolfram.com/xid/0mk5icq5hdtv-pq9ae

https://wolfram.com/xid/0mk5icq5hdtv-brp63o

https://wolfram.com/xid/0mk5icq5hdtv-cevvx1

Properties & Relations (2)Properties of the function, and connections to other functions
A PathGraph has no multiple edges:

https://wolfram.com/xid/0mk5icq5hdtv-ekh65


https://wolfram.com/xid/0mk5icq5hdtv-dsjtnn

The adjacency matrix of a graph with multiple edges has some entries greater than 1:

https://wolfram.com/xid/0mk5icq5hdtv-bsehov


https://wolfram.com/xid/0mk5icq5hdtv-gt1gl3


https://wolfram.com/xid/0mk5icq5hdtv-dj0bt4

Its incidence matrix has repeated columns:

https://wolfram.com/xid/0mk5icq5hdtv-rd3ld

Possible Issues (1)Common pitfalls and unexpected behavior
MultigraphQ gives False for non-explicit graphs:

https://wolfram.com/xid/0mk5icq5hdtv-iu6w07

Wolfram Research (2014), MultigraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MultigraphQ.html.
Text
Wolfram Research (2014), MultigraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MultigraphQ.html.
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.
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
Wolfram Language. (2014). MultigraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MultigraphQ.html
BibTeX
@misc{reference.wolfram_2025_multigraphq, author="Wolfram Research", title="{MultigraphQ}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MultigraphQ.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_multigraphq, organization={Wolfram Research}, title={MultigraphQ}, year={2014}, url={https://reference.wolfram.com/language/ref/MultigraphQ.html}, note=[Accessed: 29-March-2025
]}