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-diagramyarn add @markerjs/mjs-diagramFrom 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-diagramRun the build script:
yarn buildYou can now get the library files in the /dist directory.