Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

EdgeCount

EdgeCount[g]
gives a count of the number of edges in the graph g.

EdgeCount[g,patt]
gives a count of the number of edges that match the pattern patt.

EdgeCount[{vw,},]
uses rules to specify the graph g.

DetailsDetails

  • Multiple edges between nodes are counted as separate.
Introduced in 2010
(8.0)
| Updated in 2015
(10.3)