Dllb.Result.Communities (Dllb v0.4.0)

Copy Markdown View Source

Represents the result of a GRAPH COMMUNITIES query.

Each entry in data is a map with three keys (values are serde-tagged):

  • "id" — community representative node ID (e.g. %{"String" => "node_id"})
  • "size" — number of members (e.g. %{"Int" => 5})
  • "members" — list of member IDs (e.g. %{"Array" => [%{"String" => "n1"}, ...]})}

Summary

Types

t()

@type t() :: %Dllb.Result.Communities{
  algorithm: String.t(),
  community_count: non_neg_integer(),
  data: [map()]
}