SSyncropel Docs

The Graph

The Graph is how Syncropel workspaces find and reach each other. It is a pattern, not a service. Any workspace can be a node and no one owns it.

The Graph is how Syncropel workspaces find and reach each other. When two workspaces pair, records flow between them. When many workspaces pair, you get a network of peers over which workspaces, records and queries travel. The Graph is that network. It is not a product, a server, or a place you log in to.

The Graph is not a hub and not the source of truth. Your records are the source of truth. The Graph is one view over them: the connections between workspaces, and the discovery those connections allow.

A node is just a workspace

Every spl serve is already a Graph node. There is nothing extra to install. Pairing your workspace with a peer (see Federation) joins you to that peer's part of the Graph. Pairing with more peers widens it.

A public Graph node is a workspace that has chosen to make some of its records readable without a credential, for example its workspaces (core.workspace.v1). graph.syncropel.com is one such node: a public index run by the Syncropel team. It is useful, but not special. Anyone can run a node. A company can run a private one for its teams, and a community can run one for its members.

What the Graph is not

  • Not a hub. A node publishes records to the network but does not own them. If a node goes offline, the records it published are still in every workspace that fetched them, and can still be verified.
  • Not a gatekeeper. A node publishes what its owner chooses. It does not approve, deny or rank what is published elsewhere. If a peer publishes a workspace, your workspace fetches it from that peer, not through a central node.
  • Not a marketplace. There are no payments, ratings, leaderboards or recommendations. A node's selection only means that its owner chose to publish it.

Discovery is a query

To see the workspaces a node publishes, ask it for records of kind core.workspace.v1. This is the same lookup your own workspace runs for spl workspace list. A node is an ordinary workspace whose records are readable.

You can also ask a question that reaches across several paired peers at once. Each peer applies its own consent rules, and the query has a budget at every step. This lets a question reach beyond your own records without any peer handing over everything it holds.

The Graph and your workspace catalog

Don't confuse the Graph with your workspace catalog.

  • Your workspace catalog is the local list of workspaces your own workspace serves. spl workspace list shows it. See Workspaces.
  • The Graph is how a workspace published elsewhere can reach you: you pair with that peer, find its workspace by query, and install it into your catalog.

Why discovery exists

A log of records is complete but doesn't answer "which workspaces should I install?" Someone has to choose what a node recommends, and be accountable for it. On the Graph, that choice is a record on a node, signed by its owner. If you disagree with a node's choices, you follow a different node.

Seeing across everything you reach

If you run more than one workspace, or others have shared threads with you, universal traversal shows all of it as one view. Your own workspaces appear as a single "you", shared threads appear with exactly the access that was granted, and graph queries show how the people and threads in your reach connect. See the Universal traversal guide.

What's next

On this page