Workflow Diagram: animate when undoing a node reposition
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
Users can manually drag nodes across the chart in manual layout mode.
But when hitting Undo, the node will snap back to its old position without animation.
It would be a way nicer user experience, and improve readability of the chart, if we could animate the reposition.
We may also have to adjust the view to make sure the change is visible.
There is a lot of logic to nicely animate this stuff, but it's all tied up in the layout code. We'd need to work out how to trigger animation without running a layout when the model/positions change. Which isn't going to be easy.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the workflow diagram's layout animation logic and the undo path that updates model positions. Determine how to trigger reposition animation without running a layout, and check whether the view must adjust to keep the change visible. Done means undoing a node move animates the node back and keeps the reposition visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100