Annotating graph with events