https://networkx.org/documentation/stable/reference/classes/digraph.html
import networkx as nx G = nx.DiGraph() # a directed graph