Problem Solving

Directed Graph

Pupils place arrows between model towns.

Directed Graph definition

A directed graph is a network in which each edge has a specified direction from one vertex to another.

In Spanish
grafo dirigido
Topic
Graph theory

Directed Graph in a picture

Directed Graph diagramThe arrows show A → B and B → C, so there is a directed route from A to C.ABC
The arrows show A → B and B → C, so there is a directed route from A to C.

How it works

An edge from A to B is an ordered pair, so it does not imply an edge from B to A. Arrows represent directed edges. Such graphs can model one-way roads or tasks that must happen before other tasks.

Worked examples

Does A → B imply B → A?

No. The reverse edge must be specified separately.

If A → B and B → C are the only edges, can C reach A?

No. There is no outgoing edge from C.

How would you model a road usable in both directions?

Use two opposite directed edges, or one undirected edge if direction need not be explicit.

Common mistake

When tracing a directed route, follow the arrowhead on every edge.

Quick check

What does the arrowhead show?

Show answer

The destination of the directed edge.

Can a pair of vertices have arrows in both directions?

Show answer

Yes, if both directed edges are present.

What is another name for a directed graph?

Show answer

A digraph.

Sources

Flashcard

Directed Graph

Reveal the definition

A directed graph is a network in which each edge has a specified direction from one vertex to another.

Effortless Math. “Directed Graph.” Math Dictionary.