How to use Draw2D

I am new at web development and I would like to use Draw2D to make a drawing tool. My problem is I didn’t know how to run the given examples and implement it to my project. I can’t also find a tutorial for this.

I would like to use it because it is free unlike the more popular React Flow.

Below is the example that I tried to run on Github Sandbox but it didn’t work.

https://github.com/freegroup/draw2d/tree/master/examples/galerie_shape_basic

I am not also familiar on how I can implement it to my project. I am more familiar on scripts on adding libraries.

Below are the only instructions which I didn’t understand because it is different from other libraries.

Local Development:

nvm use v14.15.0

npm install
DIR=/examples yarn dev

Build:

./build.sh

Publish new version:

npm version patch
npm publish

The link to the answer similar to my question is now unavailable.

https://github.com/freegroup/draw2d/tree/master/examples/galerie_shape_basic

Also, is there an alternative library that is also free and does the same as Draw2D? Especially the connection of multiple objects.