anchor.diff:              %% All nodes should attempt to refresh the membership.
               timer:send_after(?REFRESH_INTERVAL, ?REFRESH_MESSAGE)
       end,
  -    {ok, #state{attempted_nodes=sets:new(), graph=digraph:new()}}.
  +    {ok, #state{is_connected=false,
  +                was_connected=false,
  +                attempted_nodes=sets:new(),
  +                graph=digraph:new()}}.
   
   %% @private
   -spec handle_call(term(), {pid(), term()}, #state{}) ->
  
positive.code:     end,
  
      timer:send_after(?BUILD_GRAPH_INTERVAL, ?BUILD_GRAPH_MESSAGE),
      {noreply, State#state{graph=Graph}};
  handle_info(Msg, State) ->
      _ = lager:warning("Unhandled messages: ~p", [Msg]),
      {noreply, State}.
  
negative.code:                  end,
      Connected = sets:fold(ConnectedFun, true, Nodes),
  
      IsConnected = case Connected of
          true ->
              lager:info("Graph is connected!");
          false ->
              lager:info("Graph is not connected!")
      end,
  
      WasConnected = IsConnected orelse WasConnected0,
  
      case length(Orphaned) of
          0 ->
  