buildEdge
@totemsdk/proofgraph / buildEdge
Function: buildEdge()
buildEdge(
type,from,to,proofId?,data?):ProofGraphEdge
Build a ProofGraphEdge with a deterministic ID from its fields. Convenience helper so callers don't need to import computeEdgeId.
Parameters
type
from
string
to
string
proofId?
string
data?
Record<string, unknown>