https://graphsandnetworks.com/networkx-the-essential-api/
NetworkX: the essential API