Planned Features
What we’re working on and thinking about.Persistent Canvas state V 11.0
The saveStore.ts and reloadStore.ts modules work together to manage canvas state by converting and storing the canvas state as a JSON string (saveStore) and retrieving it to rebuild the canvas (reloadStore). In version 11.0, saveStore was enhanced to not only capture nodes but also store their complete properties for accurate reconstruction. Despite these improvements, reloadStore still faces challenges with correctly rebuilding the graph, especially in the createGraph() function. Future work should focus on fixing these issues to ensure proper graph restoration.Main canvas state management V 11.0
In regards to State Management and Reactivity woprk is needed to improve the persistence of graph state across components and ensure reactivity of props (e.g., drawer) and zoom/translation. Focus on fixing edge detection and event dispatching reliability. Further refactor the event system and improve edge handling to ensure a smoother user experience.Snap To Grid Guide Lines V 11.0
Snap-grid functionality was implemented in Svelvet 11 however refinement of the toggling mechanism between free movement and snap-to-grid modes to ensure seamless transitions is needed. Improvements might be needed to handle edge cases or to optimize the grid snapping behavior for various screen sizes and canvas configurations.Improving Window Resize Logic
While the Svelvet component can now fill the size of its wrapping container, we want to improve the logic about node positioning and canvas scale during window resize events.Additional Data Input Components
We plan on creating additional input/parameter components that integrate with our data flow system and can be used when composing custom Nodes. We’ve released the Toggle component in version9.0.0
.
Drawer Component Maintenance
A Drawer component was released in version8.0.0
. There is some general work that needs to be done on this component to improve its reliability and consistency.