cmskit / bower-bpmn-js
bpmn-js is the BPMN 2.0 diagram modeling and rendering toolkit
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 14
Language:JavaScript
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2025-03-29 19:07:27 UTC
README
This is a packaged version of bpmn-js for usage via bower.
Usage
Install the dependency via
bower install bpmn-js
Include the file into your project
<!-- dependencies ... --> <!-- bpmn-js --> <script src="bower_components/bpmn-js/dist/bpmn-viewer.js"></script> <script> // require is part of bundle file var BpmnViewer = window.BpmnJS; var xml; // ADD BPMN 2.0 XML HERE var viewer = new BpmnViewer({ container: 'body' }); viewer.importXML(xml, function(err) { if (err) { console.log('error rendering', err); } else { console.log('rendered'); } }); </script>
Checkout the examples repository for a complete example of how to use bpmn-js with bower.
License
Use under the terms of the bpmn-js license.