MixedGraphQ
✖
MixedGraphQ
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Test whether a graph is a mixed graph:
In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-jhhnag
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0dcz2s0cehqb-dlnrrb
Out[2]=2

MixedGraphQ gives False for inputs that are not graphs with mixed edges:
In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-cxw703
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0dcz2s0cehqb-gk9sf9
Out[2]=2

Scope (6)Survey of the scope of standard use cases
MixedGraphQ works with undirected graphs:
In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-fgkyo1
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-gx301e
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-zc3mhh
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-43h5p
Out[1]=1

MixedGraphQ gives False for expressions that are not graphs:
In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-3l2bwe
Out[1]=1

MixedGraphQ works with large graphs:
In[1]:=1

✖
https://wolfram.com/xid/0dcz2s0cehqb-fuar5u
In[2]:=2

✖
https://wolfram.com/xid/0dcz2s0cehqb-ho74mu
Out[2]=2

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