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.

VertexOutDegree[{vw,},]

uses rules vw to specify the graph g.

Details

  • 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.

Examples

open allclose all

Basic Examples  (2)

Find the out-degree for each vertex:

In[1]:=
Click for copyable input
Out[1]=

Find the out-degree for a specified vertex:

In[1]:=
Click for copyable input
Out[1]=

Scope  (6)

Applications  (4)

Properties & Relations  (7)

See Also

VertexInDegree  VertexDegree  EdgeCount  EdgeList  AdjacencyMatrix  IncidenceMatrix  DegreeCentrality  EigenvectorCentrality  KatzCentrality

Introduced in 2010
(8.0)
| Updated in 2015
(10.3)