determin node edit edit state edit edit 