jerosoler / Drawflow

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

can we add dynamically any new variables in json data structure . #565

Closed Co-Maheshh closed 1 year ago

Co-Maheshh commented 1 year ago

is there any way to change variables or add new variables in json. we have variables like pos_x and pos_y in json. so how we can change it to top and left like this.

jerosoler commented 1 year ago

View:

Co-Maheshh commented 1 year ago

i want to add new variables as a key in json structure

jerosoler commented 1 year ago

editor.drawflow.drawflow.Home.data[5].test = "YOUR DATA"