In 1736 Leonhard Euler asked whether you could walk the seven bridges of Königsberg, crossing each exactly once, and proved you could not — founding graph theory with the answer. An Euler path (every edge once) exists in a connected graph if and only if it has 0 or 2 odd-degree vertices; an Euler circuit (returning to start) needs 0. The reason is beautiful: every time you pass through a vertex you use two edges (in and out), so interior vertices need even degree — only the start and end may be odd. Königsberg had four odd vertices, so no walk existed. This graph has exactly 2 odd vertices — an Euler path exists.
The demo counts the odd-degree vertices of the graph — exactly 2, so an Euler path exists: live demo
“You can always find a route crossing each edge once.” — only with 0 or 2 odd-degree vertices; Königsberg’s four odd vertices made it impossible. cited
A walk crossing every edge once — possible exactly when at most two vertices have odd degree. theorem
On the canonical compiler, the graph has exactly 2 odd-degree vertices — so an Euler path exists: