Nodes, edges and what they add up to

Read the shape
of any network

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.

Enter your figures and read the result

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.

What you get

Enrichment · STEM ExplorationsOpen to everyone · no sign-in

What you finish with
A worked-out result for your own entry (a headline figure, tiles, tables and a drawing where one helps), as a printout, a spreadsheet (.csv) or a saved file.
Who it is for
Students in discrete mathematics, computer science and data science, and teachers who want a quick way to show what a graph property means on a graph a class designs.
Format
Browser tool for a phone, tablet or computer: type or paste, the result updates as you type. Print, spreadsheet (.csv), save to a file and open it again.
Access
Open to everyone with the link: no account, no sign-in, nothing to buy and nothing to install. Everything you type stays in this browser; nothing is sent to Caveat.
Where it lives
The STEM Explorations space in Caveat Enrichment.
Support
Questions about access, an order or a correction: team@caveatacademic.com.

How to use it

  1. Load the worked example to see how it reads, or start with your own entry.
  2. Type or paste into the fields; the result updates as you type.
  3. Read the headline, the tiles and the tables.
  4. Try a second case from the buttons above the fields.
  5. Print the result, download a spreadsheet or save the entry to a file.

Analyze a network

How it works

The worked example from the edge list to its properties.

The handshake rule

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 and two colors

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.

Sources

  1. West, D. B. Introduction to Graph Theory, 2nd ed., Prentice Hall, chapters 1 and 2: degrees, connectivity, bipartite graphs and Eulerian circuits.
  2. Rosen, K. H. Discrete Mathematics and Its Applications, McGraw-Hill, chapters on graphs and trees. Worked values were checked independently.

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.

Written with AI, then checked before it is published. How we checkFound a mistake? Report it and we fix it, or refund you.Cancel anytime.