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:

Wolfram Research (2014), MixedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedGraphQ.html.

Text

Wolfram Research (2014), MixedGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedGraphQ.html.

CMS

Wolfram Language. 2014. "MixedGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MixedGraphQ.html.

APA

Wolfram Language. (2014). MixedGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MixedGraphQ.html

BibTeX

@misc{reference.wolfram_2024_mixedgraphq, author="Wolfram Research", title="{MixedGraphQ}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MixedGraphQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mixedgraphq, organization={Wolfram Research}, title={MixedGraphQ}, year={2014}, url={https://reference.wolfram.com/language/ref/MixedGraphQ.html}, note=[Accessed: 21-November-2024 ]}