Commit Graph

2264 Commits

Author SHA1 Message Date
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
Nico Rehwaldt 144776399f refactor(import+examples): reorganize files 2014-03-25 14:08:11 +01:00
Nico Rehwaldt b0517a5957 chore(build): refactor build task 2014-03-25 14:06:52 +01:00
Nico Rehwaldt 9fe8609fcd feat(Viewer): add XML/SVG export to viewer
This commit adds export of XML/SVG code via our Modeler/Viewer APIs. It
is a first step to solve #10.
2014-03-24 11:02:58 +01:00
Nico Rehwaldt 7ccc9bf48e feat(BpmnTreeWalker): handle loose processes / only selected DI 2014-03-22 01:47:03 +01:00
Nico Rehwaldt d2e71b64b5 fix(BpmnRenderer): adjust message flow apperance 2014-03-22 01:45:38 +01:00
Nico Rehwaldt 20c4f4e396 fix(Viewer): handle and display errors
Closes #8
2014-03-21 21:10:01 +01:00
Nico Rehwaldt bcdac47882 fix(BpmnRenderer): correctly render message flows
Related to #1
2014-03-21 16:56:15 +01:00
Nico Rehwaldt 8055914d41 fix(Import): forgive broken di (missing bpmnElement attr)
Related to #8
2014-03-21 16:55:59 +01:00
Nico Rehwaldt 1597af78c2 feat(XML): use http://bpmn.io/schema/bpmn as targetNamespace 2014-03-21 16:43:15 +01:00
Nico Rehwaldt 8c46e91fc0 test(browser/ImporterSpec): fix missing Renderer dependency 2014-03-21 14:42:14 +01:00
Nico Rehwaldt 3cafee107a fix(tests/fixtures): remove choreography task from data-items 2014-03-21 14:41:24 +01:00
Nico Rehwaldt 26959c1384 chore(project): update moddle dependencies 2014-03-21 14:40:54 +01:00
Nico Rehwaldt 7a6558c396 feat(BpmnRenderer): correctly render sequence/message flows
Related to #1
2014-03-20 17:51:05 +01:00
Nico Rehwaldt 7e119dc402 feat(BpmnRenderer): basic render events and activities
Related to #1
2014-03-20 16:18:23 +01:00
Nico Rehwaldt 0954398c8d feat(example): update renderer/modeler example
This commit updates the example to accompain a renderer AND modeler
component.
2014-03-18 17:01:24 +01:00
Nico Rehwaldt 286beb3aed docs(architecture): add architecture diagram 2014-03-17 15:13:48 +01:00
Nico Rehwaldt 1ab6b2b13b chore(build): generate api docs to docs/api 2014-03-17 15:11:15 +01:00
Nico Rehwaldt ee83bf9c9c fix(build/browserify): do not include global vars
This allows us to create smaller builds by NOT including common NodeJS
variables (Buffer, __filename, __dirname, ...).
2014-03-17 11:13:04 +01:00