WLJS LogoWLJS Notebook

MultigraphQ

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

Examples

MultigraphQ[Graph[{1 -> 2, 1 -> 2}]]
MultigraphQ[CompleteGraph[5]]

Please visit the official Wolfram Language Reference for more details.

On this page