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

Example sigma.plugin.animate? #74

Open
gopherine opened this issue Aug 21, 2019 · 3 comments
Open

Example sigma.plugin.animate? #74

gopherine opened this issue Aug 21, 2019 · 3 comments
Assignees

Comments

@gopherine
Copy link

Are there any examples available how to animate ?

@dunnock
Copy link
Owner

dunnock commented Aug 21, 2019

Unfortunately sigma animate is not implemented in this library. It can be added similar to dagre plugin: https://github.com/dunnock/react-sigma/blob/master/sigma-src/dagre.js

Pull requests are very welcome!

@gopherine
Copy link
Author

I tried forking the project and running storybook however i get type error it will be my first time adding on to something like this can you give me some hints what am i missing here

ERR! TypeError: Cannot read property 'rules' of undefined
ERR!     at module.exports (/Users/atharva/Documents/react-sigma/react-sigma/.storybook/webpack.config.js:8:30)
ERR!     at Object.webpack (/Users/atharva/Documents/react-sigma/react-sigma/node_modules/@storybook/core/dist/server/preview/custom-webpack-preset.js:43:12)
ERR!  { TypeError: Cannot read property 'rules' of undefined
ERR!     at module.exports (/Users/atharva/Documents/react-sigma/react-sigma/.storybook/webpack.config.js:8:30)
ERR!     at Object.webpack (/Users/atharva/Documents/react-sigma/react-sigma/node_modules/@storybook/core/dist/server/preview/custom-webpack-preset.js:43:12)
ERR!   stack:
ERR!    'TypeError: Cannot read property \'rules\' of undefined\n    at module.exports (/Users/atharva/Documents/react-sigma/react-sigma/.storybook/webpack.config.js:8:30)\n    at Object.webpack (/Users/atharva/Documents/react-sigma/react-sigma/node_modules/@storybook/core/dist/server/preview/custom-webpack-preset.js:43:12)' }

´´´

@dunnock
Copy link
Owner

dunnock commented Aug 31, 2019

hi @gopherine , sorry for long delay with response. Actually it was a bug caused by last storybook upgrade. I have fixed in the latest master commit, it should compile well now. Thanks

@dunnock dunnock self-assigned this Oct 25, 2019
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

No branches or pull requests

2 participants