Commit Graph

896 Commits

Author SHA1 Message Date
jdotzki 0411154440 test(bpmnrenderer): add test case for pools and lanes 2014-04-30 14:58:18 +02:00
Nico Rehwaldt 997245ecbc impr(draw/BpmnRenderer): minor tweaks to non-interrupting boundary 2014-04-30 14:41:59 +02:00
Nico Rehwaldt e8b70ebc83 feat(labels): render external / internal labels
This commit adds internal + external label rendering for

* activity
* event
* gateway
* sequenceFlow
* subProcess
* transaction

Closes #16
2014-04-30 14:31:48 +02:00
jdotzki 1369fb5ad6 feat(bpmnrenderer): render group frame 2014-04-30 08:44:59 +02:00
jdotzki 789c2bb18e fix(bpmnrenderer): broken jshint check 2014-04-29 15:33:26 +02:00
jdotzki 02f80f75e7 improve(bpmnrenderer): make path scaleable
- scale events to the given size
- scale data objects to the given size

closes #36
2014-04-29 14:40:13 +02:00
Nico Rehwaldt a57cb76943 chore(dependencies): update moddle 2014-04-28 15:36:13 +02:00
jdotzki 27f9d1c59a improve(bpmnrenderer): detail adjustments to gateways 2014-04-28 11:48:19 +02:00
jdotzki 21b1ac0ab0 feat(bpmnrenderer): gateway renndering added
closes #17
2014-04-28 09:28:10 +02:00
Nico Rehwaldt bcf6e1900e impr(draw/BpmnRenderer): improve naming of methods 2014-04-25 13:50:53 +02:00
Nico Rehwaldt a842ee80a6 feat(core/BpmnRegistry): api accepts element#id 2014-04-25 11:07:00 +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
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 a029c1528c fix(Viewer): use relative position on view container 2014-04-09 14:28:28 +02:00
Nico Rehwaldt 9d1dd58ac5 feat(Modeler+Viewer): correctly use BpmnRenderer 2014-04-09 10:50:36 +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 5b523bd8bf fix(BpmnRenderer): correct data object path 2014-04-08 13:41:26 +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 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
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 b432c35e7e fix(import/BpmnTreeWalker): correct typo 2014-03-27 16:50:31 +01:00
Nico Rehwaldt 42b63d7111 feat(Viewer): expose #on to add listeners 2014-03-26 17:45:04 +01:00
Nico Rehwaldt 144776399f refactor(import+examples): reorganize files 2014-03-25 14:08:11 +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 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 1d46d915d1 fix(BpmnTreeWalker): do not fail if no di 2014-03-17 11:13:03 +01:00
Nico Rehwaldt f3f95154fd feat(import): import collaboration + artifacts + message flows
This commit adds support for collaborations, message flows and
artifacts.

Related to #1
2014-03-13 23:26:33 +01:00
Nico Rehwaldt 5a4d0b566a feat(import): import bpmn shapes
We are able to import shapes based on BPMNDI.

Related to #1
2014-03-13 16:06:30 +01:00
Nico Rehwaldt 423c757f1d chore(testsuite): organize tests into node/browser
This commit introduces a clean separation of node and browser tests.

ALL tests should be organized according to where they are run

non browser (áka node tests): `test/spec/node`
browser tests: `test/spec/browser`
2014-03-13 11:33:25 +01:00
Nico Rehwaldt 01a5f28e2d chore(project): initial import 2014-03-11 15:54:36 +01:00