JESUS CHRIST IS THE ONLY TRUE GOD
Math calculator

Graph Theory Calculator

Summarize a small undirected graph with vertex count, edge count, degree sequence, connectivity, and cycle status.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Graph summary.

Graph Theory Calculator formula

Degrees are counted from the entered undirected edge list; connectivity uses depth-first traversal; a connected undirected graph contains a cycle when |E|≥|V|.

Inputs and units

Inputs and example values for Graph Theory Calculator
InputFormat / rangeExample
Undirected edges (one per line: from,to)Follow the input format aboveA,B B,C C,A

Worked example

The values listed in Inputs and units give 3 vertices, 3 edges for Graph summary.

Graph summary
3 vertices, 3 edges
Connected
Yes
Contains cycle
Yes
Degree sequence
A:2, B:2, C:2

Results and assumptions

The result details report Connected, Contains cycle, Degree sequence for the same inputs as the main answer.

Fix an input or unexpected result

See how to check a result or report an issue.