Does OpenCV provide a function on how to draw and plot a graph?

I found this link by Shervin Emami http://www.shervinemami.info/graphs.html which was created by himself.

Edit
Report