jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.79k stars 743 forks source link

Data export about the Array type node #837

Open MayDay-wpf opened 7 months ago

MayDay-wpf commented 7 months ago

Here are my application scenarios

7841187662db1090777e16d1ab83fa1a.png

How do I define the inputs in the table? e9b3c96c6f1d801cdea324a5df025bc4.png

3e5136f84065340556cea6a7d5512a80.png

Here is my code,create dynamically the rows in the table 9abfdea419d9fdfb9362f48960d8a1ff.png

jerosoler commented 7 months ago

df- attributes only work with a single variable not array.

You can use the function: updateNodeDataFromId.

Example use:

editor.updateNodeDataFromId(5, { name: 'Drawflow' })
MayDay-wpf commented 7 months ago

df- attributes only work with a single variable not array.

You can use the function: updateNodeDataFromId.

Example use:

editor.updateNodeDataFromId(5, { name: 'Drawflow' })

thank you :-D