Open Callmoon opened 6 years ago
Hello Callmoon, I was wondering if you found a solution to this issue. I ran into the same problem when trying to run the code in the readme file!
Hey tjb,
it's not a real cytoscape solution but I switched to vis.js in combination with ng2-vis.
I just needed a nodegraph and there it worked like a charm (with clicking events and so on)
Hello,
I am trying to use ng2-cytoscape inside my meteor angular 2 projekt.
I've imported the Module via
import { NgCytoscapeModule } from "ng2-cytoscape/dist";
inside myapp.module.ts
and my first attempt to include the component produces the following error inside the browser (with no rendered content):It says that
ng2-cytoscape is
not a known element (got no other errors in the console or somewhere else).Is it necessary to install the cytoscape package separately (its already located in
node_modules
but not inng2-cytoscape/node_modules
? Or do I have to add something to thepackage.json
?additionally I've added my
package.json
from the project and directly from thenode_modules/ng2-cytoscape
folder.package.json
node_modules/ng2-cytoscape/package.json
Thanks!