User networkx for interaction graph