Integrate bpmn-visualization in a vanilla TypeScript project built with Rollup
October 18, 2022 ยท View on GitHub
To run locally:
npm installnpm start- localhost app
You will see the following diagram:

The code calling bpmn-visualization to render the BPMN diagram is available in initialize.ts.
The dev server runs in watch mode, so you can play with the code and see changes directly available in the browser.
To build the application for reuse anywhere, run npm run build. The application is generated in the dist folder.