Introduction
Graphs is abstract mathematical objects to model complex problems into simple representation. Graph theory became a major branch of mathematics that has been studied intensively for hundreds of years since Euler introduced this idea to solve “seven bridge of konigsberg” at 1735. There are four important type of graphs:
Graphs that have simple connections.
Digraphs that the direction of each connection is significant.
Edge-wighted graphs that each connection has an associated weight.
Edge-weighted digraphs that each connection has both direction and a weight.