Add networkx to mock list.