Connectivity in Graph

Yasir
2 min readAug 26, 2020

In this article you will learn about the relationship of connectivity with graph , what happen on removing edges or vertices in a graph etc ..

Connectivity

A graph is said to be connected if there is a path between every pair of vertex. A graph having disconnected vertices is said to be disconnected .

Following graph is a connected graph , because you can travel through any vertex to and vertex . There is path to travel every vertex of the graphs :

While the another given graph is disconnected , since there is no path to travel from vertex a to d . There should be some path to go there . Hence it is an example of disconnected Graph .

Cut Vertex

Cut vertices are those vertices , removing them will make the graph as disconnected . See the following image , if you remove the vertex e or c you will get a disconnected graph .

Cut Edge or Bridge

Cut edges are those edges , removing of them will give you a disconnected graph . See the following image , if you remove the edge (c , e) then you will get a disconnected graph .

--

--

Yasir

Exploring the Swift, SwiftUI, and Apple universe.