Also return adjacency list.