Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Co-Maheshh opened this issue Nov 23, 2022 · 3 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@Co-Maheshh
Copy link

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
Copy link
Owner

@jerosoler jerosoler self-assigned this Nov 23, 2022
@jerosoler jerosoler added the question Further information is requested label Nov 23, 2022
@Co-Maheshh
Copy link
Author

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

@jerosoler
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants