installation of draw2d latest version on angular 10

how can I install the latest version of draw2d library on angular 10?

I used the command “npm i draw2d” but the version that has been installed is 1.0.38 although the latest version is 6.1 I guess.

enter image description here

thank you.


Actually, you have the latest version of draw2d according to npm :

You can also download and add it manually at

To be clear, the version on npm is a package version, not the same that draw2d version of (

It creates confusion, I think it’s a mistake from the author.