In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph, or set of vertices connected by edges, where the edges have a direction associated with them. In formal terms, a directed graph is an ordered pair G = (V, A) (sometimes G = (V, E)) where
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, arcs, or lines.
A directed graph is called a simple digraph if it has no multiple arrows (two or more edges that connect the same two vertices in the same direction) and no loops (edges that connect vertices to themselves). A directed graph is called a directed multigraph or multidigraph if it may have multiple arrows (and sometimes loops). In the latter case the arrow set forms a multiset, rather than a set, of ordered pairs of vertices.
In graph theory, the degree (or valency) of a vertex of a graph is the number of edges incident to the vertex, with loops counted twice. The degree of a vertex is denoted
or
. The maximum degree of a graph G, denoted by Δ(G), and the minimum degree of a graph, denoted by δ(G), are the maximum and minimum degree of its vertices. In the graph on the right, the maximum degree is 5 and the minimum degree is 0. In a regular graph, all degrees are the same, and so we can speak of the degree of the graph.
The degree sum formula states that, given a graph ,
The formula implies that in any graph, the number of vertices with odd degree is even. This statement (as well as the degree sum formula) is known as the handshaking lemma. The latter name comes from a popular mathematical problem, to prove that in any group of people the number of people who have shaken hands with an odd number of other people from the group is even.
The degree sequence of an undirected graph is the non-increasing sequence of its vertex degrees; for the above graph it is (5, 3, 3, 2, 2, 1, 0). The degree sequence is a graph invariant so isomorphic graphs have the same degree sequence. However, the degree sequence does not, in general, uniquely identify a graph; in some cases, non-isomorphic graphs have the same degree sequence.
guess there's something wrong with me
guess I don't fit in
no one wants to touch it
no one knows where to begin
I've got more than one membership
to more than one club
and I owe my life
to the people that I love
he looks me up and down
like he knows what time it is
like he's got my number
like he thinks it's his
he says,
call me, Miss DiFranco,
if there's anything I can do
I say,
It's Mr. DiFranco to you
somedays the line I walk
turns out to be straight
other days the line tends to
deviate
I've got no criteria for sex or race
I just want to hear your voice
I just want to see your face
She looks me up and down
like she thinks that I'll mature
like she's got my number
like it belongs to her
she says,
call me, Ms. DiFranco
if there's anything I can do
I say, I've got spots
I've got
stripes, too
their eyes are all asking
are you in, or are you out
and I think, oh man,
what is this about?
tonight you can't put me
up on any shelf
'cause I came here alone
I'm gonna leave by myself
I just want to show you
the way that I feel
and when I get tired
you can take the wheel
to me what's more important
is the person that I bring
not just getting to the same restaraunt
and eating the same thing
guess there's something wrong with me
guess I don't fit in
no one wants to touch it
no one knows where to begin
I've more than one membership
to more than one club