Adding networkX