state diagram edit