Skip to content

EdgeCount ​

How many edges a Graph has.

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

Domain: Collections

Examples

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

K4K_4 has (42)=6\binom{4}{2} = 6 edges

live ↗
InEdgeCount(CompleteGraph(4))\mathrm{EdgeCount}(\mathrm{CompleteGraph}(4))Out66
About
Examples2
Checked againstWolfram Language 2 agree
CrosswalkWolfram Language

See also: VertexCount, EdgeList