documentationfor yFiles for HTML 3.0.0.1

Running the Demos

We recommend exploring the demos using the included demo server:

> cd <yfiles-for-HTML package directory>
> npm start

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

In addition, all demos are available online.

Compiling TypeScript Demos

When using the included demo server, the TypeScript demo sources in demos-ts are compiled on the fly by Vite. You can browse them by visiting http://localhost:4242/demos-ts/README.html.

If you want to compile the TypeScript sources to JavaScript manually, you can use the included tsc/watch task:

> cd demos-ts
> npm run tsc
-- or --
> npm run watch