MCPcopy
hub / github.com/1Panel-dev/MaxKB / translationNodeData

Function translationNodeData

ui/src/workflow/common/shortcut.ts:52–60  ·  view source on GitHub ↗
(nodeData: any, distance: any)

Source from the content-addressed store, hash-verified

50 }
51}
52function translationNodeData(nodeData: any, distance: any) {
53 nodeData.x += distance
54 nodeData.y += distance
55 if (nodeData.text) {
56 nodeData.text.x += distance
57 nodeData.text.y += distance
58 }
59 return nodeData
60}
61
62function translationEdgeData(edgeData: any, distance: any) {
63 if (edgeData.startPoint) {

Callers 2

copy_nodeFunction · 0.85
paste_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected