Visualization using Eulerian tours and Hamiltonian