cytoscape / cyjShiny

An R/shiny widget for cytoscape.js
Other
92 stars 28 forks source link

simplify build w/o losing layout plugins? #29

Closed paul-shannon closed 3 years ago

paul-shannon commented 3 years ago

See this stackoverflow thread for a description of the problem (high complexity of webpack-based build) and the limits of building from the single cytoscape.js file Max Franz provides:

https://stackoverflow.com/questions/62417689/simplest-build-system-for-cytoscape-js/62475513#62475513

patelaryan7751 commented 3 years ago

@paul-shannon actually i am looking closely to this issue can you give some more info on this ?

paul-shannon commented 3 years ago

@patelaryan7751 , The goal is to create a minimal build system which combines the current cytoscape.js build (for instance, https://github.com/cytoscape/cytoscape.js/blob/master/dist/cytoscape.cjs.js) with other plugins not included in the build.

I want to avoid webpack and npm - because both bring in a huge number of files, require a commitment to a sprawling build system.

We need it small. Minimal. Fast. Run out of a makefile.

paul-shannon commented 3 years ago

complete. see cyjShiny/inst/htmlwidgets and especially the yaml file, and the lib directories. the htmlwidget builds, run out of R CMD build, neatly assembles all the javascript code into the package.