https://soumenatta.medium.com/a-tutorial-on-networkx-network-analysis-in-python-part-iii-c12bc0d1290d