## Types of GraphsThough, there are a lot of different types of graphs depending upon the number of vertices, number of edges, interconnectivity, and their overall structure, some of such common types of graphs are as follows: ## 1. Null GraphA ## ExampleA null graph with n vertices is denoted by Nn. ## 2. Trivial GraphA ## ExampleIn the above graph, there is only one vertex 'v' without any edge. Therefore, it is a trivial graph. ## 3. Simple GraphA ## ExampleIn the above example, First graph is not a simple graph because it has two edges between the vertices A and B and it also has a loop. Second graph is a simple graph because it does not contain any loop and parallel edges. ## 4. Undirected GraphAn ## ExampleIn the above graph since there is no directed edges, therefore it is an undirected graph. ## 5. Directed GraphA Directed graph is also known as ## ExampleIn the above graph, each edge is directed by the arrow. A directed edge has an arrow from A to B, means A is related to B, but B is not related to A. ## 6. Complete GraphA graph in which every pair of vertices is joined by exactly one edge is called A complete graph with n vertices contains exactly nC2 edges and is represented by Kn. ## ExampleIn the above example, since each vertex in the graph is connected with all the remaining vertices through exactly one edge therefore, both graphs are complete graph. ## 7. Connected GraphA ## ExampleIn the above example, we can traverse from any one vertex to any other vertex. It means there exists at least one path between every pair of vertices therefore, it a connected graph. ## 8. Disconnected GraphA ## ExampleThe above graph consists of two independent components which are disconnected. Since it is not possible to visit from the vertices of one component to the vertices of other components therefore, it is a disconnected graph. ## 9. Regular GraphA If the degree of all the vertices is k, then it is called k-regular graph. ## ExampleIn the above example, all the vertices have degree 2. Therefore they are called 2- ## 10. Cyclic GraphA graph with 'n' vertices (where, n>=3) and 'n' edges forming a cycle of 'n' with all its edges is known as A graph containing at least one cycle in it is known as a In the cycle graph, degree of each vertex is 2. The cycle graph which has n vertices is denoted by Cn. ## Example 1In the above example, all the vertices have degree 2. Therefore they all are cyclic graphs. ## Example 2Since, the above graph contains two cycles in it therefore, it is a cyclic graph. ## 11. Acyclic GraphA graph which does not contain any cycle in it is called as an ## ExampleSince, the above graph does not contain any cycle in it therefore, it is an acyclic graph. ## 12. Bipartite GraphA A graph G (V, E) is called bipartite graph if its vertex-set V(G) can be decomposed into two non-empty disjoint subsets V1(G) and V2(G) in such a way that each edge e ∈ E(G) has its one last joint in V1(G) and other last point in V2(G). The partition V = V1 ∪ V2 is known as bipartition of G. ## Example 1## Example 2## 13. Complete Bipartite GraphA A complete bipartite graph is a bipartite graph which is complete. ## ExampleThe above graph is known as K ## 14. Star GraphA star graph is a complete bipartite graph in which n-1 vertices have degree 1 and a single vertex have degree (n -1). This exactly looks like a star where (n - 1) vertices are connected to a single central vertex. A star graph with n vertices is denoted by S ## ExampleIn the above example, out of n vertices, all the (n-1) vertices are connected to a single vertex. Hence, it is a star graph. ## 15 Weighted GraphA weighted graph is a graph whose edges have been labeled with some weights or numbers. The length of a path in a weighted graph is the sum of the weights of all the edges in the path. ## ExampleIn the above graph, if path is a -> b -> c -> d -> e -> g then the length of the path is 5 + 4 + 5 + 6 + 5 = 25. ## 16. Multi-graphA graph in which there are multiple edges between any pair of vertices or there are edges from a vertex to itself (loop) is called a ## ExampleIn the above graph, vertex-set B and C are connected with two edges. Similarly, vertex sets E and F are connected with 3 edges. Therefore, it is a multi graph. ## 17. Planar GraphA ## ExampleThe above graph may not seem to be planar because it has edges crossing each other. But we can redraw the above graph. The three plane drawings of the above graph are: The above three graphs do not consist of two edges crossing each other and therefore, all the above graphs are planar. ## 18. Non - Planar GraphA graph that is not a planar graph is called a non-planar graph. In other words, a graph that cannot be drawn without at least on pair of its crossing edges is known as non-planar graph. ## ExampleThe above graph is a non - planar graph. Next TopicApplications |