MixedGraphQ

MixedGraphQ[g]

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

Details

  • A graph is mixed if it has both directed and undirected edges.

Examples

open allclose all

Basic Examples  (2)

Test whether a graph is a mixed graph:

MixedGraphQ gives False for inputs that are not graphs with mixed edges:

Scope  (6)

MixedGraphQ works with undirected graphs:

Directed graphs:

Multigraphs:

Mixed graphs:

MixedGraphQ gives False for expressions that are not graphs:

MixedGraphQ works with large graphs:

Introduced in 2014
 (10.0)