edge creation command
fixed error when undoing edge creation (bogus line removed random edges)