Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemix/graph
/ toJSON
Method
toJSON
packages/graph/src/Graph.ts:925–927 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
923
}
924
925
public toJSON(): StoredEdge {
926
return
this[$StoredElement];
927
}
928
929
[customInspectSymbol]() {
930
return
`Edge(
"${this.id}"
, ${JSON.stringify(this[$StoredElement].properties)})`;
Callers
2
toJSON
Method · 0.45
Graph.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected