Commit Graph

150 Commits

Author SHA1 Message Date
jdotzki 4864fe99cf test(bpmnrenderer): add automatic rendering tests
Add all fixtures from test/fixtures/bpmn/render/ to the test suite.
2014-05-02 08:31:58 +02:00
Nico Rehwaldt a63186599e test(draw/BpmnRenderer): add test for group rendering 2014-04-30 16:36:02 +02:00
Nico Rehwaldt 5e9afa4d3a test(draw/BpmnRenderer): correct pool fixture
Reopenes #20
2014-04-30 16:28:30 +02:00
jdotzki 697ed88a04 improve(bpmnrenderer): allow pointer events for group content
close #22
2014-04-30 15:22:00 +02:00
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
Nico Rehwaldt c17204356c chore(project): move to karma-bro for test preprocessing 2014-04-30 01:57:54 +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 38062233a5 fix(example): fix text bbox not being correctly computed
This is due to the fact, that we used display: none while the initial
version of the diagram was loaded. By changing that to visibility:
hidden, browsers can correctly compute the bbox of text elements.
2014-04-28 15:36:15 +02:00
Nico Rehwaldt 9e80022e2e chore(jshint): add node as environment 2014-04-28 15:36:15 +02:00
Nico Rehwaldt 01ba328eb7 chore(build): use watchify for auto-building
(significant build speedup ahead)
2014-04-28 15:36:14 +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 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