documentationfor yFiles for HTML 2.6

Running the Demos

We recommend browsing the demos through the included demo server:

npm start

When the server is up and running, its welcome page should open in your browser. If it doesn’t, please direct your browser to http://localhost:4242/README.html.

In addition, all demos are available online.

Compiling TypeScript Demos

The TypeScript demo sources in demos-ts are compiled as part of the installation script and can be browsed using the demo server as well (http://localhost:4242/demos-ts/README.html).

If you want to edit the TypeScript sources, you can use the watch task to instantly view the results in the browser:

> cd demos-ts
> npm run watch