Get MJS Diagram

You can add MJS Diagram to your web app in one of the following ways:

From npm

Add MJS Diagram to your app by running one of the following commands.

npm install @markerjs/mjs-diagram
yarn add @markerjs/mjs-diagram

From CDN

Use UNPKG to add MJS Diagram directly to your page.

Add this code to the head section of your HTML.

<script src=""></script>

Download standalone files

Download complied MJS Diagram files or source code from GitHub.

Build from source

Clone the repository:

git clone

Run the build script:

yarn build

You can now get the library files in the /dist directory.

Current version

current MJS Diagram version