Add annotations to the graph.