[graph-tool] is getting the adjacency matrix costly?