Fixed wrong networkx import.