Added OntologyGraph.to_networkx method for exporting OntologyGraph to
networkx DiGraph object.