Example of plotting with networkx and some interaction (mainly to help myself)