Types of Graphs

2 min read Last updated Tue May 26 2026 18:26:32 GMT+0000 (Coordinated Universal Time)

Simple Graph

A graph with no loops and no multiple edges between the same pair of vertices.

Regular Graph

A graph where all vertices have the same degree (rr). Aka. rr-regular graph.

Null Graph

A graph with no edges. All vertices are isolated.

Directed Graph

Aka. digraph. G=(V,E)G=(V,E) where EE is a set of ordered pairs of vertices. Edges of a directed graph are called arcs or directed edges or arrows or directed lines.

For a directed edge:

  • Head
    Where the arrow starts from.
  • Tail
    Where the arrow points to.

In directed graphs, 2 degrees are defined.

  • In-degree
    Denoted as indeg(v)\text{indeg}(v). Number of incoming edges.
  • Out-degree
    Denoted as outdeg(v)\text{outdeg}(v). Number of outgoing edges.

Loops contribute 1 to both in-degree and out-degree.

deg(v)=indeg(v)+outdeg(v)\text{deg}(v) = \text{indeg}(v) + \text{outdeg}(v)

Cyclic Graph

A graph with at least 1 cycle.

A simple graph consisting of only a cycle with nn vertices, is called nn-cyclic graph and denoted as CnC_n.

C2C_2 is only possible as a multigraph. Otherwise it will be a open path and not a cycle.

Acyclic Graph

A graph with no cycles. All subgraphs of an acyclic graph are also acyclic.

Weighted Graph

A graph in which each edge is assigned a numerical value (aka. weight). 3-tuples, where the third element is a weight function, w:ERw: E \to \mathbb{R}.

Weights often represent distance, cost, time, or capacity. Used in road networks, computer network routing, project scheduling, etc.

Was this helpful?