VertexInDegree

VertexInDegree[g]
gives the list of vertex in-degrees for all vertices in the graph g.

VertexInDegree[g,v]
gives the vertex in-degree for the vertex v.

DetailsDetails

  • The vertex in-degree for a vertex v is the number of incoming directed edges to v.
  • For an undirected graph g, an edge is taken to be both an in-edge and an out-edge.
Introduced in 2010
(8.0)