start to use networkx package