-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
In the latest version the component behaves differently when a new node is added via Python state manipulation. Previously adding a node would not affect the existing layout or viewport. Now the component resets the view and reapplies the layout which causes nodes to move unexpectedly. Is that intentional behaviour?
Steps to Reproduce
- Go to the official docs: https://stflow.streamlit.app/State_Modification_from_Python
- Drag the view and move existing nodes manually
- Add a new node by clicking the button in top left
Observed Behavior
- The new node is added
- The viewport resets
- Nodes are rearranged according to the layout
Expected Behavior (previous version)
- The new node is added
- Existing layout and viewport remain unchanged
Metadata
Metadata
Assignees
Labels
No labels