MCPcopy Create free account
hub / github.com/xerrors/Yuxi / updateGraphData

Function updateGraphData

web/src/composables/useGraph.js:44–49  ·  view source on GitHub ↗
(nodes, edges)

Source from the content-addressed store, hash-verified

42 }
43
44 const updateGraphData = (nodes, edges) => {
45 graphData.nodes = nodes || []
46 graphData.edges = edges || []
47 // Refresh graph visual after data update
48 refreshGraph()
49 }
50
51 const refreshGraph = () => {
52 nextTick(() => {

Callers

nothing calls this directly

Calls 1

refreshGraphFunction · 0.85

Tested by

no test coverage detected