Add adjacency matrix code and data.