Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation broken when adding new node on new Graphin projects #467

Open
nicocti opened this issue Dec 24, 2022 · 1 comment
Open

Animation broken when adding new node on new Graphin projects #467

nicocti opened this issue Dec 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nicocti
Copy link

nicocti commented Dec 24, 2022

Describe the bug

When creating a new Graphin project with default dependencies, the graph layout animation won't work when adding new nodes to an existing graph.

Your Example Website or App

https://codesandbox.io/p/github/nicocti/bp-graph/csb-tcm10s/draft/hungry-keller?file=%2FREADME.md

Steps to Reproduce the Bug or Issue

  1. Start a new React/Graphin project with latest dependencies
  2. Handle node creation in the graph component
  3. Test it

Expected behavior

On previous Graphin version, adding a new node to an existing graph would use a smooth animation while layout refresh.

Screenshots or Videos

No response

Platform

  • OS: Linux
  • Browser: Chrome & Firefox
  • Version: >100

Additional context

No response

@pomelo-nwu
Copy link
Member

@nicocti Upgrade to the latest versions of G6 and Graphin, and the issues should be fixed

@pomelo-nwu pomelo-nwu added the bug Something isn't working label May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants