added a right click context menu for the flow graph elements