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

Method getData

ui/src/workflow/common/edge.ts:192–199  ·  view source on GitHub ↗

* 重写此方法,使保存数据是能带上锚点数据。

()

Source from the content-addressed store, hash-verified

190 * 重写此方法,使保存数据是能带上锚点数据。
191 */
192 getData() {
193 const data: any = super.getData()
194 if (data) {
195 data.sourceAnchorId = this.sourceAnchorId
196 data.targetAnchorId = this.targetAnchorId
197 }
198 return data
199 }
200 /**
201 * 给边自定义方案,使其支持基于锚点的位置更新边的路径
202 */

Callers 1

paste_nodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected