loira-designer

Web page diagram designer

Usage no npm install needed!

<script type="module">
  import loiraDesigner from 'https://cdn.skypack.dev/loira-designer';
</script>

README

Loira Designer - Web based diagram designer

Loira Designer is a library that allows design diagrams directly in a web browser, with the power of JS canvas and HTML5.

Build Status GitHub license

Getting Started

Clone this repo to your desktop and run npm install to install all the dependencies.

Supported browsers

  • Chrome
  • Firefox
  • IE (Until on testing)

Installing

Npm

npm install loira-designer

Bower

bower install loira-designer

Basic example

<div id="_canvas"></div>

<script type="text/javascript" src="../build/min/loira.min.js"></script>
Loira.Config.assetsPath = '../build/assets/glyphs.png';

var canvas = new Loira.Canvas('_canvas');

canvas.add([new UseCase.UseCase({x:190,y:200, text:'Hello World'})]);

Running the tests

npm test

Authors

  • Javier Garson - Developer - lanstat

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details