add networkX package