mrjoh3 / cytoscape

An R HTMLWidget wrapper for Cytoscape.js
GNU General Public License v3.0
6 stars 2 forks source link

Adding other layouts? #9

Open jasenjackson opened 4 years ago

jasenjackson commented 4 years ago

How would I go about adding the fCose and Euler layouts from cytoscape.js? I've tried to replicate the cola.R script, adding the dependencies to inst/htmlwidgets/lib and re-running roxygen, but this results in a blank viewport.

mrjoh3 commented 4 years ago

you have taken the same approach that I would have. The blank screen seems to indicate that something has gone wrong with the dependencies but I could not see any problem with your code.

Can you view the output in your browser and report any console errors? That might help to id the problem.