<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Directed_graph</id>
	<title>Directed graph - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Directed_graph"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Directed_graph&amp;action=history"/>
	<updated>2026-05-11T19:24:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Directed_graph&amp;diff=7431286&amp;oldid=prev</id>
		<title>imported&gt;Altenmann: redundant removed Category:Graph theory using HotCat</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Directed_graph&amp;diff=7431286&amp;oldid=prev"/>
		<updated>2025-04-12T05:02:54Z</updated>

		<summary type="html">&lt;p&gt;redundant removed &lt;a href=&quot;/wiki143/index.php?title=Category:Graph_theory&quot; title=&quot;Category:Graph theory&quot;&gt;Category:Graph theory&lt;/a&gt; using &lt;a href=&quot;/wiki143/index.php?title=WP:HC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:HC (page does not exist)&quot;&gt;HotCat&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Graph with oriented edges}}&lt;br /&gt;
[[File:Directed graph no background.svg|upright|thumb|A simple directed graph]]&lt;br /&gt;
&lt;br /&gt;
In [[mathematics]], and more specifically in [[graph theory]], a &amp;#039;&amp;#039;&amp;#039;directed graph&amp;#039;&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;&amp;#039;digraph&amp;#039;&amp;#039;&amp;#039;) is a [[Graph (discrete mathematics)|graph]] that is made up of a set of [[Vertex (graph theory)|vertices]] connected by directed [[Edge (graph theory)|edges]], often called &amp;#039;&amp;#039;&amp;#039;arcs&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
In formal terms, a directed graph is an ordered pair {{nowrap|1=&amp;#039;&amp;#039;G&amp;#039;&amp;#039; = (&amp;#039;&amp;#039;V&amp;#039;&amp;#039;, &amp;#039;&amp;#039;A&amp;#039;&amp;#039;)}} where&amp;lt;ref&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2000}}. {{harvtxt|Bang-Jensen|Gutin|2018}}, Chapter 1.{{harvtxt|Diestel|2005}}, Section 1.10. {{harvtxt|Bondy|Murty|1976}}, Section 10.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;V&amp;#039;&amp;#039; is a [[Set (mathematics)|set]] whose [[Element (mathematics)|elements]] are called &amp;#039;&amp;#039;[[Vertex (graph theory)|vertices]]&amp;#039;&amp;#039;, &amp;#039;&amp;#039;nodes&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;points&amp;#039;&amp;#039;;&lt;br /&gt;
* &amp;#039;&amp;#039;A&amp;#039;&amp;#039; is a set of [[ordered pair]]s of vertices, called &amp;#039;&amp;#039;arcs&amp;#039;&amp;#039;, &amp;#039;&amp;#039;directed edges&amp;#039;&amp;#039; (sometimes simply &amp;#039;&amp;#039;edges&amp;#039;&amp;#039; with the corresponding set named &amp;#039;&amp;#039;E&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;A&amp;#039;&amp;#039;), &amp;#039;&amp;#039;arrows&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;directed lines&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
It differs from an ordinary or [[undirected graph]], in that the latter is defined in terms of [[unordered pair]]s of vertices, which are usually called &amp;#039;&amp;#039;edges&amp;#039;&amp;#039;, &amp;#039;&amp;#039;links&amp;#039;&amp;#039; or &amp;#039;&amp;#039;lines&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
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 &amp;#039;&amp;#039;&amp;#039;[[directed multigraph]]s&amp;#039;&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;&amp;#039;multidigraphs&amp;#039;&amp;#039;&amp;#039;).&amp;lt;br/&amp;gt;&lt;br /&gt;
On the other hand, the aforementioned definition allows a directed graph to have [[Loop (graph theory)|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.&amp;lt;ref name=&amp;quot;Chartrand&amp;quot;&amp;gt;{{cite book |last=Chartrand |first=Gary |date=1977 |title=Introductory Graph Theory |url=https://books.google.com/books?id=rYuToT7vHbMC&amp;amp;q=Introductory%20Graph%20Theory&amp;amp;pg=PP1 |publisher=Courier Corporation |isbn=9780486247755 |access-date=2020-10-02 |archive-date=2023-02-04 |archive-url=https://web.archive.org/web/20230204155556/https://books.google.com/books?id=rYuToT7vHbMC&amp;amp;q=Introductory%20Graph%20Theory&amp;amp;pg=PP1 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Directed graphs without loops may be called &amp;#039;&amp;#039;&amp;#039;simple directed graphs&amp;#039;&amp;#039;&amp;#039;, while directed graphs with loops may be called &amp;#039;&amp;#039;loop-digraphs&amp;#039;&amp;#039; (see section [[#Types of directed graphs|Types of directed graph]]).&lt;br /&gt;
&lt;br /&gt;
==Types of directed graphs==&lt;br /&gt;
{{see also|Graph (discrete mathematics)#Types of graphs}}&lt;br /&gt;
&lt;br /&gt;
===Subclasses===&lt;br /&gt;
[[File:Directed acyclic graph 2.svg|right|upright=0.65|thumb|A simple directed acyclic graph]]&lt;br /&gt;
[[File:4-tournament.svg|thumb|right|upright=0.4|A tournament on 4 vertices]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Symmetric directed graphs&amp;#039;&amp;#039;&amp;#039; are directed graphs where all edges appear twice, one in each direction (that is, for every arrow that belongs to the digraph, the corresponding inverse arrow also belongs to it).  (Such an edge is sometimes called &amp;quot;bidirected&amp;quot; and such graphs are sometimes called &amp;quot;bidirected&amp;quot;, but this conflicts with the meaning for [[bidirected graph]]s.)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Simple directed graphs&amp;#039;&amp;#039;&amp;#039; are directed graphs that have no [[Loop (graph theory)|loops]] (arrows that directly connect vertices to themselves) and no multiple arrows with same source and target nodes. As already introduced, in case of multiple arrows the entity is usually addressed as &amp;#039;&amp;#039;[[directed multigraph]]&amp;#039;&amp;#039;. Some authors describe digraphs with loops as &amp;#039;&amp;#039;loop-digraphs&amp;#039;&amp;#039;.&amp;lt;ref name=&amp;quot;Chartrand&amp;quot;/&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Complete directed graphs&amp;#039;&amp;#039;&amp;#039; are simple directed graphs where each pair of vertices is joined by a symmetric pair of directed arcs (it is equivalent to an undirected [[complete graph]] with the edges replaced by pairs of inverse arcs). It follows that a complete digraph is symmetric.&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Semicomplete multipartite digraphs&amp;#039;&amp;#039;&amp;#039; are simple digraphs in which the vertex set is partitioned into sets such that for every pair of vertices &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039; in different sets, there is an arc between &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039;. There can be one arc between &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;y&amp;#039;&amp;#039; or two arcs in opposite directions.&amp;lt;ref&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2018}}, Chapter 7 by Yeo.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Semicomplete digraphs&amp;#039;&amp;#039;&amp;#039; are simple digraphs where there is an arc between each pair of vertices. Every semicomplete digraph is a semicomplete multipartite digraph in a trivial way, with each vertex constituting a set of the partition.&amp;lt;ref name=&amp;quot;Bang-Jensen 2018&amp;quot;&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2018}}, Chapter 2 by Bang-Jensen and Havet.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Quasi-transitive digraphs&amp;#039;&amp;#039;&amp;#039; are simple digraphs where for every triple &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;z&amp;#039;&amp;#039; of distinct vertices with arcs from &amp;#039;&amp;#039;x&amp;#039;&amp;#039; to &amp;#039;&amp;#039;y&amp;#039;&amp;#039; and from &amp;#039;&amp;#039;y&amp;#039;&amp;#039; to &amp;#039;&amp;#039;z&amp;#039;&amp;#039;, there is an arc between &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;z&amp;#039;&amp;#039;.  There can be just one arc between &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;z&amp;#039;&amp;#039; or two arcs in opposite directions. A semicomplete digraph is a quasi-transitive digraph. There are extensions of quasi-transitive digraphs called &amp;#039;&amp;#039;k&amp;#039;&amp;#039;-quasi-transitive digraphs.&amp;lt;ref&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2018}}, Chapter 8 by Galeana-Sanchez and Hernandez-Cruz.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;[[Oriented graph]]s&amp;#039;&amp;#039;&amp;#039; are directed graphs having no opposite pairs of directed edges (i.e. at most one of {{nowrap|(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}} and {{nowrap|(&amp;#039;&amp;#039;y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}} may be arrows of the graph). It follows that a directed graph is an oriented graph if and only if it has no [[directed cycle|2-cycle]].&amp;lt;ref&amp;gt;{{harvtxt|Diestel|2005}}, Section 1.10.&amp;lt;/ref&amp;gt; Such a graph can be obtained by applying an [[Orientation (graph theory)|orientation]] to an undirected graph.&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;[[Tournament (mathematics)|Tournaments]]&amp;#039;&amp;#039;&amp;#039; are oriented graphs obtained by choosing a direction for each edge in undirected [[complete graph]]s. A tournament is a semicomplete digraph.&amp;lt;ref name=&amp;quot;Bang-Jensen 2018&amp;quot;/&amp;gt;&lt;br /&gt;
*** A directed graph is &amp;#039;&amp;#039;&amp;#039;acyclic&amp;#039;&amp;#039;&amp;#039; if it has no [[directed cycle]]s.  The usual name for such a digraph is &amp;#039;&amp;#039;&amp;#039;[[directed acyclic graph]]&amp;#039;&amp;#039;&amp;#039; (DAG).&amp;lt;ref&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2018}}, Chapter 3 by Gutin.&amp;lt;/ref&amp;gt; &lt;br /&gt;
**** &amp;#039;&amp;#039;[[Multitree]]s&amp;#039;&amp;#039; are DAGs in which there are no two distinct directed paths from the same starting vertex to the same ending vertex.&lt;br /&gt;
**** &amp;#039;&amp;#039;[[Oriented tree]]s&amp;#039;&amp;#039; or &amp;#039;&amp;#039;polytrees&amp;#039;&amp;#039; are DAGs formed by orienting the edges of trees (connected, acyclic undirected graphs).&lt;br /&gt;
***** &amp;#039;&amp;#039;[[Rooted tree]]s&amp;#039;&amp;#039; are oriented trees in which all edges of the underlying undirected tree are directed either away from or towards the root (they are called, respectively, &amp;#039;&amp;#039;&amp;#039;arborescences&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;out-trees&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;in-trees&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Digraphs with supplementary properties===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Weighted directed graphs&amp;#039;&amp;#039;&amp;#039; (also known as &amp;#039;&amp;#039;&amp;#039;directed networks&amp;#039;&amp;#039;&amp;#039;) are (simple) directed graphs with &amp;#039;&amp;#039;weights&amp;#039;&amp;#039; assigned to their arrows, similarly to [[weighted graph]]s (which are also known as undirected networks or [[weighted network]]s).&amp;lt;ref name=&amp;quot;Chartrand&amp;quot;/&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;[[Flow network]]s&amp;#039;&amp;#039;&amp;#039; are weighted directed graphs where two nodes are distinguished, a &amp;#039;&amp;#039;source&amp;#039;&amp;#039; and a &amp;#039;&amp;#039;sink&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Rooted graph|Rooted directed graphs]]&amp;#039;&amp;#039;&amp;#039; (also known as &amp;#039;&amp;#039;&amp;#039;flow graphs&amp;#039;&amp;#039;&amp;#039;) are digraphs in which a vertex has been distinguished as the root.&lt;br /&gt;
** &amp;#039;&amp;#039;[[Control-flow graph]]s&amp;#039;&amp;#039; are rooted digraphs used in computer science as a representation of the paths that might be traversed through a program during its execution.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Signal-flow graph]]s&amp;#039;&amp;#039;&amp;#039; are directed graphs in which nodes represent system variables and branches (edges, arcs, or arrows) represent functional connections between pairs of nodes.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Flow graph (mathematics)|Flow graphs]]&amp;#039;&amp;#039;&amp;#039; are digraphs associated with a set of linear algebraic or differential equations.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[State diagram]]s&amp;#039;&amp;#039;&amp;#039; are [[directed multigraph]]s that represent [[finite-state machine]]s.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Commutative diagram]]s&amp;#039;&amp;#039;&amp;#039; are digraphs used in [[category theory]], where the vertices represent (mathematical) objects and the arrows represent morphisms, with the property that all directed paths with the same start and endpoints lead to the same result by composition. &lt;br /&gt;
* In the theory of [[Lie group]]s, a &amp;#039;&amp;#039;&amp;#039;[[Quiver (mathematics)|quiver]]&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; is a directed graph serving as the domain of, and thus characterizing the shape of, a &amp;#039;&amp;#039;representation&amp;#039;&amp;#039; &amp;#039;&amp;#039;V&amp;#039;&amp;#039; defined as a [[functor]], specifically an object of the [[functor category]] FinVct&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;F&amp;#039;&amp;#039;(&amp;#039;&amp;#039;Q&amp;#039;&amp;#039;)&amp;lt;/sup&amp;gt; where &amp;#039;&amp;#039;F&amp;#039;&amp;#039;(&amp;#039;&amp;#039;Q&amp;#039;&amp;#039;) is the [[free category]] on &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; consisting of paths in &amp;#039;&amp;#039;Q&amp;#039;&amp;#039; and FinVct&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;K&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; is the category of finite-dimensional [[vector space]]s over a [[Field (mathematics)|field]] &amp;#039;&amp;#039;K&amp;#039;&amp;#039;.  Representations of a quiver label its vertices with vector spaces and its edges (and hence paths) compatibly with [[Linear map|linear transformations]] between them, and transform via [[natural transformation]]s.&lt;br /&gt;
&lt;br /&gt;
==Basic terminology==&lt;br /&gt;
[[File:Incidence matrix - directed graph.svg|thumb|Oriented graph with corresponding incidence matrix]]&lt;br /&gt;
An arc {{nowrap|(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}} is considered to be directed &amp;#039;&amp;#039;from&amp;#039;&amp;#039; &amp;#039;&amp;#039;x&amp;#039;&amp;#039; &amp;#039;&amp;#039;to&amp;#039;&amp;#039; &amp;#039;&amp;#039;y&amp;#039;&amp;#039;; &amp;#039;&amp;#039;y&amp;#039;&amp;#039; is called the &amp;#039;&amp;#039;head&amp;#039;&amp;#039; and &amp;#039;&amp;#039;x&amp;#039;&amp;#039; is called the &amp;#039;&amp;#039;tail&amp;#039;&amp;#039; of the arc; &amp;#039;&amp;#039;y&amp;#039;&amp;#039; is said to be a &amp;#039;&amp;#039;direct successor&amp;#039;&amp;#039; of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;x&amp;#039;&amp;#039; is said to be a &amp;#039;&amp;#039;direct predecessor&amp;#039;&amp;#039; of &amp;#039;&amp;#039;y&amp;#039;&amp;#039;. If a [[Path (graph theory)|path]] leads from &amp;#039;&amp;#039;x&amp;#039;&amp;#039; to &amp;#039;&amp;#039;y&amp;#039;&amp;#039;, then &amp;#039;&amp;#039;y&amp;#039;&amp;#039; is said to be a &amp;#039;&amp;#039;successor&amp;#039;&amp;#039; of &amp;#039;&amp;#039;x&amp;#039;&amp;#039; and &amp;#039;&amp;#039;reachable&amp;#039;&amp;#039; from &amp;#039;&amp;#039;x&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;x&amp;#039;&amp;#039; is said to be a &amp;#039;&amp;#039;predecessor&amp;#039;&amp;#039; of &amp;#039;&amp;#039;y&amp;#039;&amp;#039;. The arc {{nowrap|(&amp;#039;&amp;#039;y&amp;#039;&amp;#039;, &amp;#039;&amp;#039;x&amp;#039;&amp;#039;)}} is called the &amp;#039;&amp;#039;reversed arc&amp;#039;&amp;#039; of {{nowrap|(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}}.&lt;br /&gt;
&lt;br /&gt;
The [[adjacency matrix]] of a multidigraph with loops is the integer-valued [[Matrix (mathematics)|matrix]] with rows and columns corresponding to the vertices, where a nondiagonal entry &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;ij&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; is the number of arcs from vertex &amp;#039;&amp;#039;i&amp;#039;&amp;#039; to vertex &amp;#039;&amp;#039;j&amp;#039;&amp;#039;, and the diagonal entry &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;ii&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; is the number of loops at vertex &amp;#039;&amp;#039;i&amp;#039;&amp;#039;. The adjacency matrix of a directed graph is a [[logical matrix]], and is&lt;br /&gt;
unique up to permutation of rows and columns.&lt;br /&gt;
&lt;br /&gt;
Another matrix representation for a directed graph is its [[incidence matrix]].&lt;br /&gt;
&lt;br /&gt;
See [[Glossary of graph theory#direction|direction]] for more definitions.&lt;br /&gt;
&lt;br /&gt;
==Indegree and outdegree==&lt;br /&gt;
[[File:DirectedDegrees.svg|thumb|A directed graph with vertices labeled (indegree, outdegree)]]&lt;br /&gt;
&lt;br /&gt;
For a vertex, the number of head ends adjacent to a vertex is called the &amp;#039;&amp;#039;indegree&amp;#039;&amp;#039; of the vertex and the number of tail ends adjacent to a vertex is its &amp;#039;&amp;#039;outdegree&amp;#039;&amp;#039; (called &amp;#039;&amp;#039;[[branching factor]]&amp;#039;&amp;#039; in trees).&lt;br /&gt;
&lt;br /&gt;
Let {{nowrap|1=&amp;#039;&amp;#039;G&amp;#039;&amp;#039; = (&amp;#039;&amp;#039;V&amp;#039;&amp;#039;, &amp;#039;&amp;#039;E&amp;#039;&amp;#039;)}} and {{nowrap|&amp;#039;&amp;#039;v&amp;#039;&amp;#039; ∈ &amp;#039;&amp;#039;V&amp;#039;&amp;#039;}}. The indegree of &amp;#039;&amp;#039;v&amp;#039;&amp;#039; is denoted deg&amp;lt;sup&amp;gt;−&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;) and its outdegree is denoted deg&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
A vertex with {{nowrap|1=deg&amp;lt;sup&amp;gt;−&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;) = 0}} is called a &amp;#039;&amp;#039;source&amp;#039;&amp;#039;, as it is the origin of each of its outgoing arcs. Similarly, a vertex with {{nowrap|1=deg&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;) = 0}} is called a &amp;#039;&amp;#039;sink&amp;#039;&amp;#039;, since it is the end of each of its incoming arcs.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;degree sum formula&amp;#039;&amp;#039; states that, for a directed graph,&lt;br /&gt;
: &amp;lt;math&amp;gt;\sum_{v \in V} \deg^-(v) = \sum_{v \in V} \deg^+(v) = |E|.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If for every vertex {{nowrap|&amp;#039;&amp;#039;v&amp;#039;&amp;#039; ∈ &amp;#039;&amp;#039;V&amp;#039;&amp;#039;}}, {{nowrap|1=deg&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;) = deg&amp;lt;sup&amp;gt;−&amp;lt;/sup&amp;gt;(&amp;#039;&amp;#039;v&amp;#039;&amp;#039;)}}, the graph is called a &amp;#039;&amp;#039;balanced directed graph&amp;#039;&amp;#039;.&amp;lt;ref&amp;gt;{{citation|page=460|title=Discrete Mathematics and Graph Theory|first1=Bhavanari|last1=Satyanarayana|first2=Kuncham Syam| last2=Prasad| publisher=PHI Learning Pvt. Ltd.|isbn=978-81-203-3842-5}}; {{citation|page=[https://archive.org/details/combinatorialmat0000brua/page/51 51]| title=Combinatorial Matrix Classes| volume=108|series=Encyclopedia of Mathematics and Its Applications|first=Richard A. |last=Brualdi| publisher=Cambridge University Press|year=2006|isbn=978-0-521-86565-4| url=https://archive.org/details/combinatorialmat0000brua/page/51}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Degree sequence==&lt;br /&gt;
The degree sequence of a directed graph is the list of its indegree and outdegree pairs; for the above example we have degree sequence ((2, 0), (2, 2), (0, 2), (1, 1)). The degree sequence is a directed graph invariant so isomorphic directed graphs have the same degree sequence. However, the degree sequence does not, in general, uniquely identify a directed graph; in some cases, non-isomorphic digraphs have the same degree sequence.&lt;br /&gt;
&lt;br /&gt;
The [[Digraph realization problem|directed graph realization problem]] is the problem of finding a directed graph with the degree sequence a given sequence of positive [[integer]] pairs. (Trailing pairs of zeros may be ignored since they are trivially realized by adding an appropriate number of isolated vertices to the directed graph.) A sequence which is the degree sequence of some directed graph, i.e. for which the directed graph realization problem has a solution, is called a directed graphic or directed graphical sequence. This problem can either be solved by the [[Kleitman–Wang algorithm]] or by the [[Fulkerson–Chen–Anstee theorem]].&lt;br /&gt;
&lt;br /&gt;
==Directed graph connectivity==&lt;br /&gt;
{{main|Connectivity (graph theory)}}&lt;br /&gt;
A directed graph is &amp;#039;&amp;#039;weakly connected&amp;#039;&amp;#039; (or just &amp;#039;&amp;#039;connected&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;{{harvtxt|Bang-Jensen|Gutin|2000}} p. 19 in the 2007 edition; p. 20 in the 2nd edition (2009).&amp;lt;/ref&amp;gt;) if the undirected &amp;#039;&amp;#039;underlying graph&amp;#039;&amp;#039; obtained by replacing all directed edges of the graph with undirected edges is a [[Connectivity (graph theory)|connected graph]].&lt;br /&gt;
&lt;br /&gt;
A directed graph is &amp;#039;&amp;#039;[[strongly connected]]&amp;#039;&amp;#039; or &amp;#039;&amp;#039;strong&amp;#039;&amp;#039; if it contains a directed path from &amp;#039;&amp;#039;x&amp;#039;&amp;#039; to &amp;#039;&amp;#039;y&amp;#039;&amp;#039; (and from &amp;#039;&amp;#039;y&amp;#039;&amp;#039; to &amp;#039;&amp;#039;x&amp;#039;&amp;#039;) for every pair of vertices {{nowrap|(&amp;#039;&amp;#039;x&amp;#039;&amp;#039;, &amp;#039;&amp;#039;y&amp;#039;&amp;#039;)}}. The &amp;#039;&amp;#039;strong components&amp;#039;&amp;#039; are the maximal strongly connected subgraphs.&lt;br /&gt;
&lt;br /&gt;
A connected [[rooted graph]] (or &amp;#039;&amp;#039;flow graph&amp;#039;&amp;#039;) is one where there exists a directed path to every vertex from a distinguished &amp;#039;&amp;#039;root vertex&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{cmn|&lt;br /&gt;
* [[Binary relation]]&lt;br /&gt;
* [[Coates graph]]&lt;br /&gt;
* [[DGML|Directed Graph Markup Language]]&lt;br /&gt;
* [[DRAKON|DRAKON flowchart]]&lt;br /&gt;
* [[Flow chart]]&lt;br /&gt;
* [[Globular set]]&lt;br /&gt;
* [[Glossary of graph theory]]&lt;br /&gt;
* [[Graph Style Sheets]]&lt;br /&gt;
* [[Graph theory]]&lt;br /&gt;
* [[Graph (abstract data type)]]&lt;br /&gt;
* [[Network theory]]&lt;br /&gt;
* [[Orientation (graph theory)|Orientation]]&lt;br /&gt;
* [[Preorder]]&lt;br /&gt;
* [[Topological sorting]]&lt;br /&gt;
* [[Transpose graph]]&lt;br /&gt;
* [[Vertical constraint graph]]&lt;br /&gt;
* [[Zero-weight cycle problem]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* {{Citation&lt;br /&gt;
| last1=Bang-Jensen | first1=Jørgen&lt;br /&gt;
| last2=Gutin | first2=Gregory&lt;br /&gt;
| title=Digraphs: Theory, Algorithms and Applications&lt;br /&gt;
| publisher=[[Springer Science+Business Media|Springer]]&lt;br /&gt;
| year=2000&lt;br /&gt;
| isbn=1-85233-268-9&lt;br /&gt;
| url=http://www.cs.rhul.ac.uk/books/dbook/&lt;br /&gt;
}}(the corrected 1st edition of 2007 is now freely available on the authors&amp;#039; site; the 2nd edition appeared in 2009 {{ISBN|1-84800-997-6}}).&lt;br /&gt;
* {{Citation&lt;br /&gt;
| last1=Bang-Jensen | first1=Jørgen&lt;br /&gt;
| last2=Gutin | first2=Gregory&lt;br /&gt;
| title= Classes of Directed Graphs&lt;br /&gt;
| publisher=[[Springer International Publishing AG|Springer]]&lt;br /&gt;
| year=2018&lt;br /&gt;
| isbn=978-3319718408&lt;br /&gt;
}}.&lt;br /&gt;
* {{citation |last1       = Bondy&lt;br /&gt;
 |first1      = John Adrian&lt;br /&gt;
 |author-link1 = John Adrian Bondy&lt;br /&gt;
 |last2       = Murty&lt;br /&gt;
 |first2      = U. S. R.&lt;br /&gt;
 |author-link2 = U. S. R. Murty&lt;br /&gt;
 |title       = Graph Theory with Applications&lt;br /&gt;
 |year        = 1976&lt;br /&gt;
 |publisher   = North-Holland&lt;br /&gt;
 |isbn        = 0-444-19451-7&lt;br /&gt;
 |url         = https://archive.org/details/graphtheorywitha0000bond&lt;br /&gt;
 |url-access  = registration&lt;br /&gt;
}}.&lt;br /&gt;
* {{Citation&lt;br /&gt;
| last=Diestel | first=Reinhard|author-link=Reinhard Diestel&lt;br /&gt;
| title=Graph Theory&lt;br /&gt;
| publisher=[[Springer Science+Business Media|Springer]]&lt;br /&gt;
| year=2005&lt;br /&gt;
| edition=3rd&lt;br /&gt;
| isbn=3-540-26182-6&lt;br /&gt;
| url=http://www.math.uni-hamburg.de/home/diestel/books/graph.theory/&lt;br /&gt;
}} (the electronic 3rd edition is freely available on author&amp;#039;s site).&lt;br /&gt;
* {{citation|last1=Harary|first1=Frank|author-link1=Frank Harary|last2=Norman|first2=Robert Z.| last3=Cartwright|first3=Dorwin| title=Structural Models: An Introduction to the Theory of Directed Graphs| place=New York|publisher=Wiley| year=1965}}.&lt;br /&gt;
* [https://oeis.org/A000273 Number of directed graphs (or directed graphs) with n nodes] from [[On-Line Encyclopedia of Integer Sequences]]&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{Commons category|Directed graphs}}&lt;br /&gt;
&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Directed Graph}}&lt;br /&gt;
[[Category:Directed graphs]]&lt;br /&gt;
[[Category:Extensions_and_generalizations_of_graphs]]&lt;br /&gt;
[[Category:Graph data structures]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Altenmann</name></author>
	</entry>
</feed>