gives the list of vertex degrees for all vertices in the graph g.
gives the vertex degree for the vertex v.
uses rules vw to specify the graph g.
- VertexDegree is also known as valence.
- The vertex degree for a vertex v is the number of edges incident to v.
- For a directed graph g, an edge is incident to a vertex whether it is an in-edge or an out-edge.
Examplesopen allclose all
Basic Examples (3)
Vertex degrees of the HararyGraph:
Highlight the vertex by its vertex degree for CycleGraph:
The degree distribution for a Bernoulli random graph follows a BinomialDistribution:
The vertex degree distribution for BarabasiAlbertGraphDistribution follows a power-law:
Properties & Relations (15)
Wolfram Research (2010), VertexDegree, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexDegree.html (updated 2015).
Wolfram Language. 2010. "VertexDegree." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/VertexDegree.html.
Wolfram Language. (2010). VertexDegree. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VertexDegree.html