Save Layout of Nodes #336
-
The use case is that I want to save to a database the layout of Related question: is it possible to bind a Svelvet element to a variable that could then be inspected in code to read node positions, etc? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
briangregoryholmes
May 6, 2023
Replies: 1 comment
-
A native method for save and restore will likely be part of the next major release. In v7.0.47, you can bind to the position prop on a Node. Except for the initial setting of the position, the binding is currently read only.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jkanel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A native method for save and restore will likely be part of the next major release.
In v7.0.47, you can bind to the position prop on a Node. Except for the initial setting of the position, the binding is currently read only.