[go: up one dir, main page]

Skip to content

comindware/diagram-designer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

diagram-designer-core

Core library for editing activities and their connections with each other to form general diagram

##dependencies jquery, underscore, handlebars, backbone, marionette, d3 (listed in bower.json)

all of these should be defined on the global scope

backbone and marionette will be removed once with fallback to self-hosted models

##requirements node.js

##usage

bower install diagram-designer-core
require("bower_components/diagram-designer-core/lib/diagram-designer-core", function(diagramDesignerApi) {
  var diagram = new diagramDesignerApi.Diagram();
  diagram.render();
});

##tests and develop library uses karma runner with jasmine described tests

to develop and run tests

npm install
bower install
karma start

you probably want bower and karma to be installed globally before this

npm install -g karma
npm install -g bower

##demo

simple github demo (version can be other than current master):

https://comindware.github.io/diagram-designer/demo.html