add networkx lib && compress feature