anchor.diff:               failed
            end.
   
  -
  -
  -
  -
   find_all_groups([], Set) ->
       Set;
   find_all_groups([{{InstanceId, _}, _} | Rest], Set) ->
  
positive.code: %     nodes in one erlang vm. But for the processes forming a scalaris
  %     node being able to talk to each other, they have to now their
  %     names (cs_node, config, etc.). This module allows the processes
  %     to keep their names. 
  %
  %     When a new process group is created, a unique "instance_id" is
  %     created, which has to be shared by all nodes in this
  %     group. 
  %     
  %     {@link register_process/3} registers the name of a process in
  %     his group and stores the instance_id in the calling processes'
  %     environment using {@link erlang:put/2}.
  
negative.code:     AllGroups = find_all_groups(ets:tab2list(?MODULE), gb_sets:new()),
      GroupsAsJson = {array, lists:foldl(fun(El, Rest) -> [{struct, [{id, El}, {text, El}, {leaf, false}]} | Rest] end, [], gb_sets:to_list(AllGroups))},
      GroupsAsJson.
  
  %% @doc find processes in a group (for web interface)
  %% @spec get_processes_in_group(term()) -> term()
  get_processes_in_group(Group) ->
      AllProcesses = find_processes_in_group(ets:tab2list(?MODULE), gb_sets:new(), Group),
      ProcessesAsJson = {array, lists:foldl(fun(El, Rest) -> [{struct, [{id, toString(El)}, {text, toString(El)}, {leaf, true}]} | Rest] end, [], gb_sets:to_list(AllProcesses))},
      ProcessesAsJson.
  
  get_all_pids() ->
      [X || [X]<- ets:match(?MODULE, {'_','$1'})].
  
  %%====================================================================
  %% API
  %%====================================================================
  