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
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