Skip to content
PACKAGES

nodeSnapshot()

Read a node cache without activating it.

import { nodeSnapshot } from "@graphrefly/ts/adapters";
function nodeSnapshot(node: Node<T>): T | undefined
ParameterTypeDescription
nodeNode<T>Node to observe, adapt, or connect.

A T | undefined value.

import { nodeSnapshot } from "@graphrefly/ts/adapters";

packages/ts/src/adapters/store.ts