Simple Undirected

%%🖋 Edit in Excalidraw, and the dark exported image%%

  • A graph that is both undirected and simple, generally the most common form of graphs.
  • The maximum number of edges , this happens when the graph becomes complete.
  • The graph density is given by:

Simple Directed

%%🖋 Edit in Excalidraw, and the dark exported image%%

  • Both simple and directed
  • Maximum edges (i.e. max size) is given by
    • This is precisely double the maximum of a simple undirected graph, because now for an edge , we can have an extra edge
  • Graph density given by:

Directed Acyclic Graph (DAG)

%%🖋 Edit in Excalidraw, and the dark exported image%%

Undirected

Directed

  • Edges are one-way
  • The set of edges is no longer symmetric, meaning the existence of does not imply exists.
  • If both and exist, the graph has a two-way edge.
  • Useful for irreversible transitions and states, as well as prerequisites.

Cyclic / Acyclic

%%🖋 Edit in Excalidraw, and the dark exported image%%

  • A graph which contains at least one cycle.
  • Similarly, an acyclic graph is one that has no cycles.

Connected

(Assuming the graph is simple)

  • Every node can be reached from every other node.
  • Minimum edges required:
  • Maximum degree per node is:
  • A bridge is an edge which, if deleted, causes the graph to become disconnected

Simple

  • No loops
  • No parallel edges

Complete

%%🖋 Edit in Excalidraw, and the dark exported image%%

  • Must be simple undirected
  • Every vertex is adjacent to every other vertex
  • Degree (No. of edges incident to a vertex) =
  • Size:
  • Are considered dense since

Weighted

  • Every edge in the graph has been assigned a weight, which is treated as the cost required to go from node to node .
  • Note that the weights are assigned arbitrarily, they can mean distance between graphs, or monetary cost, anything.

Dense / Sparse

|700

A graph is considered dense if it has many more edges than nodes, more specifically, if it’s density is approximately 1:

In other words, if the graph approaches a complete graph

Similarly, a graph is considered sparse if it has many more nodes than edges, more specifically, when it’s density is approximately 0:

In other words, if the graph approaches a tree

K-Partite

  • Graph is divided into number of sets.
  • All nodes in a set are disconnected

Tree

Spanning Trees

#tosee related to Linear Span?

  • A subgraph of a graph, which contains all of the parent graph’s nodes and is also a tree.

Minimum Spanning Tree

  • A spanning tree that contains the lowest weight. Minimum Spanning Tree

Coloured Graph

#todo Cleanup

A method for managing conflicts of interest & resource allocation. In a coloured graph, adjacent vertices must have different colours

Chromatic Number: The minimum value of such that a -coloured graph can exist for a given graph. Usually depicted as a gamma function