adjacency graph using tree map