there is a problem of ndrestanding how to draw.Graphs are a commonly used data structure because they can be used to
model many real-world problems. A graph consists of a set of nodes with
an arbitrary number of connections, or edges, between the nodes. These
edges can be either directed or undirected and weighted or unweighted.