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

Bg + Animate #3087

Closed
rac021 opened this issue Jan 3, 2023 · 1 comment
Closed

Bg + Animate #3087

rac021 opened this issue Jan 3, 2023 · 1 comment
Labels
bug A bug in the code of Cytoscape.js

Comments

@rac021
Copy link

rac021 commented Jan 3, 2023

Hi,

I have a node with a specific bg.

Doing

node.data().bg = color ;

works fine.

But when I call the animate function like

 node.animate({
        style: { 'background-color': 'red'  }
 }).delay( 100 ).animate({
    style: { 'background-color': node.data().bg }
  })

node.data().bg = color stop working

Can anyone tells me what's wrong with my code ?

Thank's

@rac021 rac021 added the bug A bug in the code of Cytoscape.js label Jan 3, 2023
@maxkfranz
Copy link
Member

It looks like you're having trouble with your code.

In future, please post questions requesting help to Stack Overflow or the discussions section.

  • It's not scaleable or sustainable to provide free, custom-tailored support to every consumer of Cytoscape.js.
  • The issue tracker is only for feature requests and bug reports.
  • There is a large community of users who may want to help you in the discussions section or on Stack Overflow.
  • Stack Overflow answers tend to come up in Google searches better than closed GitHub issues, so it benefits other developers with similar questions.

Follow the Stack Overflow guidelines to be considerate of the community and to improve the chances of receiving a good answer. Those guidelines are also fitting for GitHub Discussions, if you opt for that.

If you do find a reproducible bug, you're welcome to post a bug report here. Include all the information according to the issue template so that the issue can be addresses effectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in the code of Cytoscape.js
Projects
None yet
Development

No branches or pull requests

2 participants