diagram-js-origin

A origin crosshair for diagram-js

Usage no npm install needed!

<script type="module">
  import diagramJsOrigin from 'https://cdn.skypack.dev/diagram-js-origin';
</script>

README

diagram-js-origin

A point of origin cross and contour for diagram-js.

Showing the cross added by the plug-in

Configure Border

The plug-in will render an optional border to contour the positive coordinate space. Remove the border by providing a config.origin.showBorder=false entry.

License

MIT