org.latha.island.deriveIsland

nandi.uk

Documentation

Derive connected components (islands) from the connection graph. Sends all connections to the container for BFS traversal. Without a seed, returns all islands. With a seed vertex, returns the single island containing it.

main procedure

Derive connected components (islands) from the connection graph. Sends all connections to the container for BFS traversal. Without a seed, returns all islands. With a seed vertex, returns the single island containing it.

Input

Encodingapplication/json
seed string Optional

Optional seed vertex. If provided, returns only the island containing this vertex. If omitted, returns all islands.

Output

Encodingapplication/json
islands array Required

No description available.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "properties": {
        "seed": {
          "type": "string",
          "description": "Optional seed vertex. If provided, returns only the island containing this vertex. If omitted, returns all islands."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "islands"
      ],
      "properties": {
        "islands": {
          "type": "array",
          "items": {
            "ref": "#island",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Derive connected components (islands) from the connection graph. Sends all connections to the container for BFS traversal. Without a seed, returns all islands. With a seed vertex, returns the single island containing it."
}
edge object

No description available.

Properties

connectionType string Required

No description available.

did string did Required

A decentralized identifier (DID).

handle string Optional

No description available.

note string Optional

No description available.

source string Required

No description available.

target string Required

No description available.

uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "did",
    "source",
    "target",
    "connectionType"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    },
    "note": {
      "type": "string"
    },
    "handle": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "connectionType": {
      "type": "string"
    }
  }
}
island object

No description available.

Properties

edges array of ref#edge Required

No description available.

id string Required

Stable ID: truncated SHA-256 of the lexmin vertex.

lexmin string Required

Lexicographically smallest vertex in the component — the canonical reference.

vertices array of string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "lexmin",
    "vertices",
    "edges"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable ID: truncated SHA-256 of the lexmin vertex."
    },
    "edges": {
      "type": "array",
      "items": {
        "ref": "#edge",
        "type": "ref"
      }
    },
    "lexmin": {
      "type": "string",
      "description": "Lexicographically smallest vertex in the component — the canonical reference."
    },
    "vertices": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

Lexicon Garden

@