Create a selection handler for the revision graph.