In the previous section, we learned about the basics of graph theory, and as you saw, this is a very powerful mathematical tool that can be used for a plethora of tasks in various fields. However, there is no one-size-fits-all solution and so we need additional tools to help us because each problem is unique. In this section, we will learn about the various types of graphs and their use cases and strengths. This includes weighted graphs, directed graphs, multilayer graphs, dynamic graphs, and tree graphs.
Types of graphs
Weighted graphs
So far, we have seen graphs that have a sort of binary representation, where 1 represents the existence of an edge between two nodes and 0 signifies that there is no connection between two...