Updating work to draw pairwise connected graphs.