Skip to content

Nodes

Everything is organized into nodes.

Each app (journal, mail, etc.) creates nodes to represent their information. These nodes are linked to each other through attributes.

When retrieving its contents, a closure-like query is conducted and all the nodes reachable through its attributes are returned.

Think of a node as being represented like this:

interface Node {
id: string;
type: string;
attributes: string[];
}