yields True if the graph g is a multigraph and False otherwise.


  • A graph is a multigraph if there are multiple undirected edges or multiple directed edges with the same direction between the same vertices.


open allclose all

Basic Examples  (2)

Test whether a graph has multiple edges:

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

Scope  (2)

MultigraphQ gives False for expressions that are not graphs:

MultigraphQ works with large graphs:

Properties & Relations  (2)

A PathGraph has no multiple edges:

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

Its incidence matrix has repeated columns:

Possible Issues  (1)

MultigraphQ gives False for non-explicit graphs:

Introduced in 2014