anchor.diff:       NodesAll,
        NodesState,
        NodesDownDurations} = reconfigure_nodes(NodeName,
  -                                             NodesAliveOld,
                                                Nodes,
                                                NodesStateOld,
                                                NodesDownDurationsOld,
  
positive.code: connect_node(hidden, Node) ->
      net_kernel:hidden_connect_node(Node).
  
  disconnect_node(Listen, Node, NodesState) ->
      Disconnect = case maps:find(Node, NodesState) of
          {ok, {_, ConnectNode, _, _}} ->
              if
                  Listen =:= visible, ConnectNode =:= hidden ->
                      false;
                  true ->
                      true
              end;
          error ->
              true
      end,
      if
          Disconnect =:= true ->
              _ = net_kernel:disconnect(Node),
              ok;
          Disconnect =:= false ->
              ok
      end.
  
  
negative.code:                                            cost_precision = CostPrecision,
                                             log_reconnect = LogReconnect}}}, _,
              #state{node_name = NodeName,
                     nodes_state = NodesStateOld,
                     nodes_down_durations = NodesDownDurationsOld,
                     listen = ListenOld,
  