add support for multiple graphs
add controls to switch cursors to different graphs