Commit Graph

2182 Commits

Author SHA1 Message Date
Nico Rehwaldt 0a061e2060 test(draw/BpmnRenderer): add event tests 2014-04-25 13:31:18 +02:00
Nico Rehwaldt 7d0e8dabe0 test(browser): clean up unused code + keep rendered resources 2014-04-25 13:30:10 +02:00
Nico Rehwaldt 0878841b0f chore(build): exclude 'fs' from build via pkg.json browser field
BREAKING CHANGE:

This commit requires that you upgrade your browserify version to >=
3.44.0.
2014-04-25 13:28:40 +02:00
Nico Rehwaldt a842ee80a6 feat(core/BpmnRegistry): api accepts element#id 2014-04-25 11:07:00 +02:00
Jörg 418003a916 Merge pull request #35 from bpmn-io/event
feat(bpmnrenderer): add events to renderer
2014-04-24 12:11:08 +02:00
jdotzki e146b27e44 feat(bpmnrenderer): add events to renderer
Add support for all event types expect Sub-Process events.

Closes #19
2014-04-24 10:09:54 +02:00
jdotzki 6623500c23 chore(package.json): add 'jquery-mousewheel' as dependency to fix broken build 2014-04-16 15:34:28 +02:00
Nico Rehwaldt db982770c3 fix(Modeler): update move component name 2014-04-16 13:38:59 +02:00
Nico Rehwaldt b1a5ffb0b1 feat(MoveCanvas): make canvas draggable
Closes #34
2014-04-14 15:11:02 +02:00
Nico Rehwaldt e3266af25b feat(ZoomScroll): add #reset to revert view to default
Closes #33
2014-04-14 15:09:45 +02:00
Nico Rehwaldt 8b1840d633 feat(zoomscroll): add zoom scroll util
We can now zoom / scroll the diagram via the newly created zoomScroll
service.

Closes #14
2014-04-11 17:11:10 +02:00
Nico Rehwaldt b559d6567c fix(example/url-viewer): do not interpolate content type 2014-04-09 16:37:19 +02:00
Nico Rehwaldt 0c48002ada chore(project): upgrade grunt-jasmine-node 2014-04-09 15:07:35 +02:00
Nico Rehwaldt a029c1528c fix(Viewer): use relative position on view container 2014-04-09 14:28:28 +02:00
Nico Rehwaldt d328454f68 feat(example): add url viewer example 2014-04-09 14:28:03 +02:00
Nico Rehwaldt f9eda1827e feat(example): restructure simple application example 2014-04-09 14:27:35 +02:00
Nico Rehwaldt 9d1dd58ac5 feat(Modeler+Viewer): correctly use BpmnRenderer 2014-04-09 10:50:36 +02:00
Nico Rehwaldt 3db137a0ce chore(examples): clean up bpmn-io branded stuff
This commit removes the bpmn-io related stuff such as fonts from the
example to make them easier to understand.
2014-04-09 10:50:35 +02:00
jdotzki 46d60f9d64 feat(app): allow opening files from web server.
With URL param 'bpmndoc' a filename of a document can be specified that will be loaded from the server and then rendered.
2014-04-08 19:16:11 +02:00
Nico Rehwaldt 90e0d458b3 fix(logo): reduce size to fit small viewports 2014-04-08 15:28:26 +02:00
Nico Rehwaldt ef756e4e03 fix(Viewer): do not assume width / height 100%
This commit removes the behavior that width and height of a viewer are
automatically set to 100% unless specified otherwise.

The width and height are now optional attributes, that are only applied
if given. This way, users may still style their elements via CSS.
2014-04-08 15:23:52 +02:00
Nico Rehwaldt c662225091 fix(package.json): correct wrong bpmn-moddle version 2014-04-08 15:09:20 +02:00
Nico Rehwaldt c26c2b9c86 fix(package.json): correct project name 2014-04-08 14:09:04 +02:00
Nico Rehwaldt 0cc8599b56 chore(Gruntfile): remove jasmine_node (not needed atm) 2014-04-08 13:41:27 +02:00
Nico Rehwaldt 06cf214249 chore(project): upgrade to latest karma-browserify
This fixes module loading bugs during test run and lets us use the
latest  browserify version.
2014-04-08 13:41:27 +02:00
Nico Rehwaldt 5b523bd8bf fix(BpmnRenderer): correct data object path 2014-04-08 13:41:26 +02:00
Nico Rehwaldt 18e7e21959 feat(example): use custom-made font 2014-04-08 13:41:25 +02:00
Nico Rehwaldt 008015b227 feat(Viewer): embed and show project logo
The project logo now properly embeds in the Viewer and links to bpmn.io.
This way, we are able to ship it as part of a bpmn-js bundle.

In addition to that change this commit upgrades to the latest diagram-js
release, too which adds support for Diagram#destroy().

Closes #15
2014-04-08 13:41:24 +02:00
jdotzki 082ca624bb feat(bpmnrenderer): add collection marker
for Input- and Output-DataObjects too.
2014-04-07 00:16:57 +02:00
jdotzki 1b8095a442 feat(bpmnrenderer): add support for DataCollectionObject 2014-04-04 12:01:42 +02:00
Nico Rehwaldt 6737d90b92 fix(Viewer): correctly export SVG
Closes #26
2014-04-03 21:20:13 +02:00
Nico Rehwaldt bd6aa53662 chore(project): pull out bpmn model
This commit removes the bpmn model specific parts that have been
outsourced to the project bpmn-io/bpmn-moddle.

In addition it removes BPMN 2.0 diagrams that were crafted
especially for tests of that functionality.

Closes #25
2014-04-03 19:34:17 +02:00
jdotzki b7733572a0 chore(bpmnrender) fixed too long lines 2014-04-03 14:54:01 +02:00
Nico Rehwaldt 777fabd700 test(Model): add missing diagram file 2014-04-03 11:55:22 +02:00
Nico Rehwaldt 02313e6c1b feat(bpmn): make available BpmnRegistry in renderer
This commit upgrades the code base to the latest diagram-js changes and
adds a component called BpmnRegistry that can be used to retrieve a
certain BPMN/DI element from a shape/connection id.

Related to #19
2014-04-03 11:55:22 +02:00
Nico Rehwaldt 4c0c286ae7 chore(project): update dependencies
This commit updates many common project dependencies.

In addition, it adds support for done(err) in karma-jasmine, by updating
to a snapshot version of the library.
2014-04-03 11:51:56 +02:00
Nico Rehwaldt c485f478df chore(build): configure browsers under test via env.TEST_BROWSERS 2014-04-03 11:51:56 +02:00
jdotzki 62def97a2b feat(bpmnrenderer) add support for data objects
* DataObject
* InputData
* OutputData
* DataAssociation
* DataStore

closes #21
2014-04-03 08:46:00 +02:00
Nico Rehwaldt 2eedfcbd2c fix(build): correct jshint errors 2014-04-01 14:17:13 +02:00
Nico Rehwaldt 9e249efc83 fix(docs/project/SETUP): link diagram-js 2014-04-01 10:48:26 +02:00
Nico Rehwaldt 8eb1bd7563 docs(project): add SETUP instructions
This commit adds a document that describes the setup instructions for
bpmn-js.
2014-03-31 15:56:34 +02:00
Nico Rehwaldt 156181bc63 feat(example): add debug flag testing (non-) minified lib 2014-03-31 15:55:25 +02:00
Nico Rehwaldt 779312b8b6 chore(build): update to new grunt-browserify 2014-03-31 15:54:45 +02:00
Nico Rehwaldt fdab2321e2 feat(build): minify using uglify-js 2014-03-31 15:53:31 +02:00
Nico Rehwaldt b432c35e7e fix(import/BpmnTreeWalker): correct typo 2014-03-27 16:50:31 +01:00
Nico Rehwaldt e631de2b2f feat(Model): support extensionElements
Related to #12
2014-03-27 16:45:02 +01:00
Nico Rehwaldt 47d82e1790 chore(project): add jshint config file 2014-03-26 17:47:41 +01:00
Nico Rehwaldt c723d43184 feat(example): re-export artifacts after change only
Closes #11
2014-03-26 17:47:01 +01:00
Nico Rehwaldt 42b63d7111 feat(Viewer): expose #on to add listeners 2014-03-26 17:45:04 +01:00
Nico Rehwaldt 5fc0d0e5c6 chore(project): update dependencies 2014-03-25 23:35:01 +01:00