Nodes, edges and what they add up to
List the connections in a network, one per line. The page draws it and works out the degrees, the connected pieces, whether it has a cycle or can be two-colored, its diameter and whether a walk can use every edge once.
One edge per line. The worked example is a triangle with a tail and a separate pair of friends. Saved on this device only.
Loading Graph Theory Network Analyzer. If nothing appears, turn on JavaScript.
Enrichment · STEM ExplorationsOpen to everyone · no sign-in
Every edge has two ends, so the degrees of all nodes add to twice the number of edges. In the worked example 2 + 2 + 3 + 2 + 1 + 1 + 1 = 12 = 2 x 6, which is why the number of odd-degree nodes is always even.
Euler showed that a connected graph can be walked using every edge once exactly when at most two nodes have odd degree. And a graph can be colored with two colors, no neighbors alike, exactly when it has no odd cycle.
The worked examples are invented for illustration. What you type is saved only in this browser and is never sent to Caveat. Support: team@caveatacademic.com.