combined selectable draggable and resizable into 1 automaton