VertexOutDegree

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

VertexOutDegree[g, v]
gives the vertex out-degree for the vertex v.

DetailsDetails

  • The vertex out-degree for a vertex v is the number of outgoing directed edges from v.
  • For an undirected graph g, an edge is taken to be both an in-edge and an out-edge.
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »