EmptyGraphQ
✖
EmptyGraphQ
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (6)Survey of the scope of standard use cases
EmptyGraphQ works with undirected graphs:

https://wolfram.com/xid/0b8dbi7jgj-fgkyo1


https://wolfram.com/xid/0b8dbi7jgj-gx301e


https://wolfram.com/xid/0b8dbi7jgj-uvnf7h


https://wolfram.com/xid/0b8dbi7jgj-5geyu

EmptyGraphQ gives False for expressions that are not edgeless graphs:

https://wolfram.com/xid/0b8dbi7jgj-3l2bwe


https://wolfram.com/xid/0b8dbi7jgj-i52fbz

EmptyGraphQ works with large graphs:

https://wolfram.com/xid/0b8dbi7jgj-q1if7j

https://wolfram.com/xid/0b8dbi7jgj-vdyffa

Properties & Relations (7)Properties of the function, and connections to other functions
The number of edges of an empty graph is zero:

https://wolfram.com/xid/0b8dbi7jgj-er32m5

The vertex degree for an empty graph is all zeros:

https://wolfram.com/xid/0b8dbi7jgj-fp066

The empty graphs are undirected graphs:

https://wolfram.com/xid/0b8dbi7jgj-frb7q

The complement of a complete graph is an empty graph:

https://wolfram.com/xid/0b8dbi7jgj-fzmbqy

The intersection of two graphs with different names is an empty graph:

https://wolfram.com/xid/0b8dbi7jgj-efyy0k

The intersection of any graph and its complement is an empty graph:

https://wolfram.com/xid/0b8dbi7jgj-es3og

https://wolfram.com/xid/0b8dbi7jgj-b5yq85

The adjacency matrix for an empty graph has all zero entries:

https://wolfram.com/xid/0b8dbi7jgj-bebck2

Wolfram Research (2010), EmptyGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/EmptyGraphQ.html.
Text
Wolfram Research (2010), EmptyGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/EmptyGraphQ.html.
Wolfram Research (2010), EmptyGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/EmptyGraphQ.html.
CMS
Wolfram Language. 2010. "EmptyGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EmptyGraphQ.html.
Wolfram Language. 2010. "EmptyGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EmptyGraphQ.html.
APA
Wolfram Language. (2010). EmptyGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EmptyGraphQ.html
Wolfram Language. (2010). EmptyGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EmptyGraphQ.html
BibTeX
@misc{reference.wolfram_2025_emptygraphq, author="Wolfram Research", title="{EmptyGraphQ}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/EmptyGraphQ.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_emptygraphq, organization={Wolfram Research}, title={EmptyGraphQ}, year={2010}, url={https://reference.wolfram.com/language/ref/EmptyGraphQ.html}, note=[Accessed: 29-March-2025
]}