addNode
@totemsdk/proofgraph / addNode
Function: addNode()
addNode(
graph,type,refId,data?):ProofGraph
Add a node directly (type + refId pair). Idempotent — skipped if the node already exists.
Parameters
graph
type
refId
string
data?
Record<string, unknown>