拖拽节点生成的画布,如何获取其相关节点数据呢,处理一下传给后端 #2042
Answered
by
NewByVector
xiazhaohui
asked this question in
Q&A
-
需求是做一个自动化有营销流程画布,自定义流程走向和发生一些动作。 |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Apr 23, 2022
Replies: 1 comment 1 reply
-
画布上所有元素的数据可以通过以下方法拿到: graph.toJSON() 单个节点的业务数据,可以放在 data 属性中 graph.setData(daa) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
画布上所有元素的数据可以通过以下方法拿到:
单个节点的业务数据,可以放在 data 属性中