TOPICS
Search

Simple Directed Graph


SimpleDigraphs

A simple directed graph is a directed graph having no multiple edges or graph loops (corresponding to an adjacency matrix with entries 0 or 1 and 0s on the diagonal). The number of nonisomorphic simple directed graphs of n nodes for n=1, 2, ... are 1, 3, 16, 218, 9608, ... (OEIS A000273).

A simple directed graph on n nodes may have between 0 and n(n-1) edges. The number of simple directed graphs on n nodes with m edges gives the triangle of graph counts on n nodes (rows) with m edges (columns) shown below (OEIS A052283).

nm=0, 1, 2, ...
11
21, 1, 1
31, 1, 4, 4, 4, 1, 1
41, 1, 5, 13, 27, 38, 48, 38, 27, 13, 5, 1, 1

A complete graph in which each graph edge is bidirected is called a complete digraph. A simple directed graph having no symmetric pair of directed edges (i.e., no bidirected edges) is called an oriented graph. A complete oriented graph (i.e., a directed graph in which each pair of nodes is joined by a single graph edge having a unique direction) is called a tournament.

A polynomial

 d_p(x)=sum_(q)d_(pq)x^q
(1)

that enumerates the number of distinct simple directed graphs with p nodes (where d_(pq) is the number of directed graphs on p nodes with q edges) can be found by application of the Pólya enumeration theorem. This gives the counting polynomial for the number of directed graphs with p points as

 d_p(x)=Z(S_p^([2]),1+x),
(2)

where S_p^([2]) is the reduced ordered pair group which acts on the ordered pairs of distinct elements of {1,2,...,p}, given by

 Z(S_p^([2]))=1/(p!)sum_((j))(p!)/(product_(k=1)^(p)k^(j_k)j_k!)product_(k=1)^pa_k^((k-1)j_k+2k(j_k; 2))product_(q=1)^pproduct_(r=q+1)^pa_(LCM(q,r))^(2j_qj_rGCD(q,r))
(3)

(Harary 1994, p. 186). Here, (n; m) is a binomial coefficient, LCM is the least common multiple, GCD is the greatest common divisor, and the sum is over exponent vectors j=(j_1,...,j_p) satisfying sum_(k=1)^(p)kj_k=p, where j_k counts the cycles of length k in a permutation of the symmetric group S_p. The first few cycle indices Z(S_p^([2])) are

Z(S_2^([2]))=1/2a_1^2+1/2a_2
(4)
Z(S_3^([2]))=1/6a_1^6+1/2a_2^3+1/3a_3^2
(5)
Z(S_4^([2]))=1/(24)a_1^(12)+1/4a_2^5a_1^2+1/8a_2^6+1/3a_3^4+1/4a_4^3
(6)
Z(S_5^([2]))=1/(120)a_1^(20)+1/(12)a_2^7a_1^6+1/6a_3^6a_1^2+1/8a_2^(10)+1/4a_4^5+1/5a_5^4+1/6a_2a_3^2a_6^2.
(7)

Setting a_n=1+x^n gives the generating functions for the number of directed graphs on n nodes with k edges,

d_1=1
(8)
d_2=x^2+x+1
(9)
d_3=x^6+x^5+4x^4+4x^3+4x^2+x+1.
(10)

See also

Acyclic Digraph, Directed Graph, Oriented Graph, Simple Graph, Strongly Connected Digraph, Tournament, Weakly Connected Digraph

Explore with Wolfram|Alpha

References

Harary, F. "Digraphs." Ch. 16 in Graph Theory. Reading, MA: Addison-Wesley, pp. 10, 186, and 198-211, 1994.Sloane, N. J. A. Sequences A000273/M3032 and A052283 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Simple Directed Graph

Cite this as:

Weisstein, Eric W. "Simple Directed Graph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SimpleDirectedGraph.html

Subject classifications