add GraphCommand.update_str
convert gclui to use of GraphCommand
push click and drag events to command history