modify double click node to change graph