A graph consists of vertices and edges joining certain pairs of vertices (ordered pairs for a directed graph). Its adjacency matrix is the matrix with if there is an edge from to , and otherwise. A walk of length from to is a sequence of consecutive edges leading from to .
Mathematics · Glossary
What is Graph, adjacency matrix?
Also known as: graph · adjacency matrix