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

Extensions not registering (react + mobx) #61

Open
daer-ru opened this issue Oct 9, 2020 · 4 comments
Open

Extensions not registering (react + mobx) #61

daer-ru opened this issue Oct 9, 2020 · 4 comments

Comments

@daer-ru
Copy link

daer-ru commented Oct 9, 2020

I copied example with "cytoscape-cose-bilkent" from your readme and have a error No such layout 'cose-bilkent' found. Did you forget to import it and 'cytoscape.use()' it?
With "cytoscape.js-popper" i have a error .popper is not a function.
With few other extensions a have the same problems :( Could someone help to understand where problem is?

I use:
"cytoscape": "3.16.2",
"react-cytoscapejs": "1.2.1",
"react": "16.13.1",
"mobx": "5.15.5"

@alexcjohnson
Copy link
Collaborator

And you include the cytoscape-cose-bilkent package and .use() it like in https://github.com/plotly/react-cytoscapejs/blame/master/README.md#L135 ? In general adding layout extensions does work, as we do that in dash-renderer for the callback graph

@daer-ru
Copy link
Author

daer-ru commented Oct 12, 2020

@alexcjohnson yes sure i include the package with .use().

@zhangyanf
Copy link

I also have the same probleam,has this problem been solved?

image
image

@sckhg1367
Copy link

@zhangyanf
Have you solved it?

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

4 participants