lit-ts

October 13, 2023 ยท View on GitHub

Demonstrate how to integrate maxGraph in a Web Component created with lit.

The application is built with Vite.

Setup

From the repository root, run npm install. For more details, see the root README.

If you want to use the maxGraph development version (built locally), see the root README about maxGraph integration.

Running the project

From the repository root, run npm run dev -w projects/lit-ts and go to http://localhost:5173/

If you want to bundle the application, run npm run build -w projects/lit-ts and then run npm run preview-w projects/lit-ts to access to a preview of the bundled application.