Open kellerkind87 opened 2 years ago
If node data is not passed as props.
It is at the time of registration that the props can be passed.
editor.registerNode('name', component, props, options);
There are users who have problems receiving the data. Even though it can be interesting to pass the data as props. Examples passing props:
Maybe pass the values inside a parameter. Or use some parameter type "dataInProps" true/false.
I study it.
i added a PR: https://github.com/jerosoler/Drawflow/pull/486
Yes, I saw it. Thanks. I will check it.
Hi, i am doing prototypes and an evaluation of libs like yours. First of all thank you for spending your time providing this great lib.
I think i found a bug.
If i add a node vie the addNode method the data is not passed to the underlying vue component as props.
Here is my code:
this is how the node is added starting at drawflow.js:1231
It seems like the data parameter is not used. Possible way to solve: Maybe merge the
data
andthis.noderegister[html].props
Or maybe i am doing sth wrong?
Thank you in advance.
some versions: