Skip to content

Component resets when new node is added #43

@nextae

Description

@nextae

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

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions