Transforms a graph into an Eulerian graph
G (NetworkX graph) – An undirected graph
- Return type
NetworkXError – If the graph is not connected.
J. Edmonds, E. L. Johnson. Matching, Euler tours and the Chinese postman. Mathematical programming, Volume 5, Issue 1 (1973), 111-114.  https://en.wikipedia.org/wiki/Eulerian_path
>>> G = nx.complete_graph(10) >>> H = nx.eulerize(G) >>> nx.is_eulerian(H) True