Skip to content

VertexCount ​

How many vertices a Graph has.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageVertexCount✓
VertexCount(g)∣V(g)∣|V(g)|.
Typed signatures
TypePackageApplies
(value) -> integercombinatoricsalways

Domain: Collections

Examples

1 more kept as data, checked against the oracles
Basic #

K4K_4 has 4 vertices

live ↗
InVertexCount(CompleteGraph(4))\mathrm{VertexCount}(\mathrm{CompleteGraph}(4))Out44
About
Examples2
Checked againstWolfram Language 2 agree
CrosswalkWolfram Language

See also: VertexList, EdgeCount