Lably
Skip to content

Directed graph

Graph with oriented edges

  • 7 min read
  • 6 chapters
  • 1 lab on Lably

Learn it on Lably

Definition

In formal terms, a directed graph is an ordered pair G = (V, A) where

  • V is a set whose elements are called vertices, nodes, or points;
  • A is a set of ordered pairs of vertices, called arcs, directed edges (sometimes simply edges with the corresponding set named E instead of A), arrows, or directed lines.

It differs from an ordinary or undirected graph, in that the latter is defined in terms of unordered pairs of vertices, which are usually called edges, links or lines.

The aforementioned definition does not allow a directed graph to have multiple arrows with the same source and target nodes, but some authors consider a broader definition that allows directed graphs to have such multiple arcs (namely, they allow the arc set to be a multiset). Sometimes these entities are called directed multigraphs (or multidigraphs).
On the other hand, the aforementioned definition allows a directed graph to have loops (that is, arcs that directly connect nodes with themselves), but some authors consider a narrower definition that does not allow directed graphs to have loops. Directed graphs without loops may be called simple directed graphs, while directed graphs with loops may be called loop-digraphs (see section Types of directed graph).

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Discrete mathematics