Check for networkx when import delphin.mrs.