This demo shows how to bundle the yFiles library in a browserify project.
The yFiles modules are
required in the demo sources in addition to an
npm library (color), so browserify will add the yfiles modules and the npm
library to the generated
The HTML file just references the single
bundle.js file containing the demo code as well as all
Install the required npm packages and run the build script
> npm install > npm run build
Browserify will place the output files in the
dist/ directory inside this demo's directory. To run
the demo, open
./index.html in a browser.