Code related to graphs.