added graph.onDoubleClick