Utilizing Graph Theory for the Smooth Flow of Transportation in Areas