Mental Model
We use a square grid to show which nodes connect to which in a graph. Each cell says if two nodes have a link.
Analogy: Think of a friendship chart in a classroom where each student has a row and a column. A mark in the grid means those two students are friends.
0 1 2 0 [0 1 0] 1 [1 0 1] 2 [0 1 0]
