I just found this excellent tutorial on making graphs in LaTeX in this tweet that I was lucky April Franco liked on Twitter so it showed up on my feed:
Very useful basic tutorial for #tikz from @jcremer, https://t.co/9KYSyC7BzU
— Matt Mitchell (@M_ttM_) April 17, 2016