- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Connected vs Disconnected Graphs

## Connected Graph

A graph is connected if any two vertices of the graph are connected by a path.

Vertex 1 | Vertex 2 | PATH |
---|---|---|

a | b | a b |

a | c | a b c, a c |

a | d | a b c d, a c d |

b | c | b a c , b c |

c | d | c d |

## Disconnected Graph

A graph is disconnected if at least two vertices of the graph are not connected by a path. If a graph G is disconnected, then every maximal connected subgraph of G is called a connected component of the graph G.

Vertex 1 | Vertex 2 | PATH |
---|---|---|

a | b | a b |

a | c | Not Available |

a | d | Not Available |

b | c | Not Available |

c | d | c d |

- Related Articles
- Strongly Connected Graphs
- What are connected and disconnected Row Sets in JDBC?
- C++ Program to Find Strongly Connected Components in Graphs
- BFS for Disconnected Graph in C++
- Eulerian Graphs
- Hamiltonian Graphs
- Planar Graphs
- Bipartite Graphs
- Representation of Graphs
- Speed Time Graphs
- Matrix Representation of Graphs
- Basic Concepts of Graphs
- What are Bar graphs?
- What are Pie graphs?
- Isomorphism and Homeomorphism of graphs

Advertisements