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="https://unpkg.com/@markerjs/mjs-diagram/mjs-diagram.js"></script>
Download standalone files
Download complied MJS Diagram files or source code from GitHub.
Build from source
Clone the repository:
git clone https://github.com/ailon/mjs-diagram
Run the build script:
yarn build
You can now get the library files in the /dist
directory.