MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / inspectNode

Function inspectNode

packages/frontend/src/dgraph.tsx:29–39  ·  view source on GitHub ↗
(id: debug.NodeID)

Source from the content-addressed store, hash-verified

27 })
28
29 function inspectNode(id: debug.NodeID) {
30 const node = graph()?.[id]
31 // eslint-disable-next-line no-console
32 if (!node) return console.warn('inspectNode: node not found', id)
33
34 if (node.type === debug.NodeType.Signal) {
35 ctx.inspector.setInspectedNode(node.graph ?? null, id)
36 } else {
37 ctx.inspector.setInspectedOwner(id)
38 }
39 }
40
41 return {
42 graph,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…