Wolfram Language & System 10.0 (2014)|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.

DetailsDetails

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