Skip to content

frontend-web-editor


Function: getGraphSignature() ​

getGraphSignature(nodes, edges): string

Defined in: app/hooks/faultTree/graphApplyGuard.ts:10

Create a compact, stable signature for a graph structure, ignoring object identity.

Parameters ​

nodes ​

Node[]

Graph nodes to include in the signature.

edges ​

Edge[]

Graph edges to include in the signature.

Returns ​

string

A JSON string representing a deterministic signature of the graph.