Skip to content

Animate query graph layout transitions - #171

Open
vogelsgesang wants to merge 2 commits into
fix-flicker-1from
fix-flicker
Open

Animate query graph layout transitions#171
vogelsgesang wants to merge 2 commits into
fix-flicker-1from
fix-flicker

Conversation

@vogelsgesang

Copy link
Copy Markdown
Collaborator

Compute the final layout once and interpolate node size and layout from a shared clock, avoiding intermediate relayout jumps.

Animate subtree additions and removals from or toward their parent while fading nodes, edges, and labels. Delay entry animations until React Flow has measured the new nodes and preserve exit destinations across interrupted transitions.

Also, disable pointer interaction for transient elements, to avoid hover animations being influenced by those transient elements.

@vogelsgesang
vogelsgesang force-pushed the fix-flicker branch 4 times, most recently from 7cc9e12 to 6065732 Compare September 4, 2026 12:53
Compute the final layout once and interpolate node size and layout from a shared clock, avoiding intermediate relayout jumps.

Animate subtree additions and removals from or toward their parent while fading nodes, edges, and labels. Delay entry animations until React Flow has measured the new nodes and preserve exit destinations across interrupted transitions.

Disable pointer interaction for transient elements so they do not affect hover behavior.
@vogelsgesang
vogelsgesang force-pushed the fix-flicker branch 3 times, most recently from b53c658 to 533a4f6 Compare September 4, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant