first version of adjacency matrix visualization