Adjacency Matrix Tool
Enter graph edges and instantly see the adjacency matrix, degree sequence, and basic graph properties.
Graph Input
Enter edges on the left and click Build Matrix.
Adjacency Matrix
Degree Sequence
Copied!
Summary
Enter graph edges and instantly see the adjacency matrix, degree sequence, and basic graph properties.
How it works
- Choose directed or undirected graph mode.
- Enter edges one per line using the format "A B" or "1 2" (two node labels separated by a space).
- Click Build Matrix to generate the adjacency matrix.
- Read the N×N grid — a 1 means an edge exists between row-node and column-node.
- Check the degree sequence and statistics table below the matrix.
Use cases
- Verify hand-built adjacency matrices for graph theory homework.
- Quickly visualize small graphs for algorithm design or debugging.
- Check degree sequences before applying degree-based theorems.
- Understand directed vs. undirected edge representation side-by-side.
- Prepare data for graph algorithms that require matrix input.
Frequently Asked Questions
Last updated: 2026-06-13 ·
Reviewed by Nham Vu