Commit Graph

86 Commits

Author SHA1 Message Date
Nico Rehwaldt 2ef5342571 chore(draw): slightly adjust message flow thickness 2015-05-06 16:52:33 +02:00
Nico Rehwaldt e912e1f89c fix(draw): give participants a white background 2015-05-06 15:54:43 +02:00
Nico Rehwaldt c294e0fadf fix(draw): no expand markers for CallActivities 2015-05-05 12:01:53 +02:00
Nico Rehwaldt b233ab957c feat(snapping): add bpmn-specific move snapping
This commit adds message flow + collaboration specific snapping by
subclassing the diagram-js provided default Snapping implementation.

* Add collaboration snapping
* Rename lib/util/{Name}.js -> lib/util/{Name}Util.js

Closes #255
2015-04-29 15:04:54 +02:00
Ricardo Matias 6011de1c4a fix(resize): correctly compute cropping box after resize
closes #236
2015-04-22 09:20:07 +02:00
Nico Rehwaldt e7bbb5d6bf chore(project): use inherits util 2015-03-23 15:15:32 +01:00
jdotzki 89a3a6bcd8 feature(modeling): set di.isMarkerVisible for exclusive gateway as default
close #221
2015-03-05 14:19:47 +01:00
jdotzki 88eb0cb442 fix(bpmnrenderer): correct rendering of intermediate link throw event
close #216
2015-03-04 13:29:46 +01:00
Nico Rehwaldt 4fa01649b5 fix(draw/BpmnRenderer): only display message flow marker if messageRef
Closes #205
2015-02-25 18:30:16 +01:00
Nico Rehwaldt 9272547af2 fix(draw): consistently use custom snapsvg 2015-02-06 09:55:23 +01:00
Nico Rehwaldt 3996408404 chore(project): migrate to modularized lodash@3
* use specialized lodash utilities
* consistently apply 'use strict'

Related to #185
2015-02-02 14:46:21 +01:00
Nico Rehwaldt 982033074b fix(draw): use correct height for bpmn:TextAnnotation 2014-12-07 13:06:32 +01:00
Nico Rehwaldt 1c6058e6cb chore(bpmn-js): adjust to diagram-js changes
Related to #151
2014-11-26 11:31:23 +01:00
Nico Rehwaldt 3a377a3871 chore(core/ElementRegistry): pull API changes
Related to #153
2014-11-17 17:36:22 +01:00
Nico Rehwaldt c58532aeac chore(import): reorganize import related functionality
This commit puts all import related stuff into the import module.

The core module remains as an entry point to require the basic modules
needed by bpmn-js. At the time this is { import, draw }.
2014-10-30 12:06:43 +01:00
jdotzki 29ec039df9 improve(bpmnrenderer): align timer event rendering with BPMN spec
close #77
2014-09-17 16:07:37 +02:00
Nico Rehwaldt 4428be4227 fix(draw): render labels as one-liner per default
This is a temporary fix for #113
2014-09-15 14:41:26 +02:00
Nico Rehwaldt 0044a51bc5 feat(label-editing): auto hide empty labels
Related to #105
2014-09-09 15:20:30 +02:00
Nico Rehwaldt 9d16e17c5c fix(labels): correct positioning + hide if empty
This commit improves the label handling by

* showing the label only if it exists
* updating the status accordingly
* positioning the label correctly on import

Related to #113
2014-09-08 19:03:39 +02:00
Nico Rehwaldt c4776f191c fix(draw): correctly fill messages + intermediate events 2014-08-17 19:09:46 +02:00
jdotzki 63caaeb7f4 fix(draw): data store path
Corrected path fixes transparent background.
See #96
2014-08-15 11:38:45 +02:00
jdotzki c67709ce34 feat(modeling): allow append TextAnnotation
Closes #90
2014-08-05 17:21:49 +02:00
Nico Rehwaldt 4afe3a80ed feat(modeling): crop connections on shape boundaries
Behind the scenes changes:

* use diagram-js Matcher util in tests
* add test cases for LayoutConnection
* add test cases for CreateConnection
* cleanup unused test diagram

Related to #2
2014-07-31 16:26:05 +02:00
Nico Rehwaldt d729818b94 feat(features/modeling): implement bpmn update as command listeners
This commit adds

* handling of bpmn update as command listeners
* label support

Related to bpmn-io/diagram-js#45

BREAKING CHANGE:

* rename bpmnModeling -> modeling to achive parity with diagram-js
2014-07-31 15:56:15 +02:00
Nico Rehwaldt 2934e2bfc9 fix(draw): render data-association-markers 2014-07-24 11:03:10 +02:00
Nico Rehwaldt f380a4b044 feat(lib/core): use directly linked data-model
Closes #91
2014-07-17 14:08:15 +02:00
jdotzki 9d178b23f2 feat(bpmnrenderer): render X-OR marker only if 'isMarkerVisible' is set
close #69
2014-07-09 10:04:21 +02:00
Nico Rehwaldt 88c5dcbb2f chore(core): swap draw dependency
Make bpmn-js/draw depend on bpmn-js/core and not vice versa
2014-06-30 17:09:39 +02:00
Nico Rehwaldt 4e7e574438 chore(util): introduce Di utility 2014-06-17 11:48:23 +02:00
Nico Rehwaldt 4e00114409 chore(project): upgrade to new diagram.js module structure 2014-06-11 14:41:55 +02:00
Nico Rehwaldt bd70eced41 fix(BpmnRenderer): fix cross browser/svg viewer marker
This hacks around marker behaviors in Safari+PhantomJS. By setting the
stroke dash array to bigger than the path length, the line is drawn
solid.

Related to #68
2014-06-02 15:37:14 +02:00
Nico Rehwaldt 0a619a53fd fix(BpmnRenderer): minor drawing improvements
This fix contributes these improvements

* reset strokeWidth back to 1px for boundary + intermediate events
* unify strokeDasharray for initiating start + cancelActivity boundary
events
* set dataObject fill to white
2014-05-28 23:19:41 +02:00
Nico Rehwaldt 281de42998 feat(BpmnRenderer): clean up flow markers
This fixes flow marker strokeDasharray being used on non browser SVG
viewers.
2014-05-28 22:49:35 +02:00
jdotzki 97d1adeb8c fix(bpmnrenderer): set fill color of data associations to 'none'
close #68
2014-05-28 18:27:56 +02:00
Nico Rehwaldt 14850f753f fix(BpmnRenderer): fix messageflow marker positioning 2014-05-27 18:54:24 +02:00
Nico Rehwaldt ba94724225 fix(BpmnRenderer): adjust sequenceFlow strokeWidth + cleanup
Closes #70
2014-05-27 18:48:38 +02:00
Nico Rehwaldt 645d0e8ea4 fix(BpmnRenderer): correctly draw boundaryEvent#cancelActivity
Closes #71
2014-05-27 17:51:16 +02:00
jdotzki 9bfa4de445 fix(bpmnrenderer): render conditional flow marker only on task
close #67
2014-05-27 12:25:28 +02:00
jdotzki fd9fcefeb4 fix(bpmnrenderer): fix marker paths
The path format for some marker was incorrect, fixed for all SVG viewer that fails.
2014-05-26 08:59:12 +02:00
jdotzki 1342c1aca0 fix(bpmnrenderer): conditional flow marker
Sequence flows are rendered as a <path> instead as <polyline> so that the start and end markers have the correct orientation in Gecko based browsers.
2014-05-25 12:32:24 +02:00
Nico Rehwaldt 0b0fa40bc5 chore(bpmn-renderer): remove log statements 2014-05-23 10:59:00 +02:00
jdotzki 57a9f49e52 impr(bpmnrenderer): event type inspection 2014-05-22 08:40:00 +02:00
jdotzki b0e6020952 impr(bpmnrenderer): make lanes transparent
Relates to #28
2014-05-21 15:35:26 +02:00
jdotzki d18089db0a feat(bpmnrenderer): add rendering of message marker on message flows
The marker will be placed in the middle of the message flow.

close #23
2014-05-21 13:51:59 +02:00
jdotzki 738a8a64f6 feat(bpmnrenderer): add default flow markers
close #29
2014-05-19 16:22:55 +02:00
jdotzki b2f2f1a29c feat(bpmnrenderer): add collection marker to pools
Collapsed pools looks ok. Expanded Pools have issues with z-index.
2014-05-18 12:23:17 +02:00
jdotzki 8370886bc2 feat(bpmnrenderer): add conditional flow markers
See #29
2014-05-17 10:54:56 +02:00
jdotzki fd03c02612 fix(bpmnrenderer): 'multiple parallel' event was rendered as 'multiple' event 2014-05-15 10:23:48 +02:00
jdotzki 7cdf82cce1 impr(bpmnrenderer): set correct outline for non interrupting start events
#31
2014-05-15 10:09:07 +02:00
jdotzki eea1264518 impr(bpmnrenderer): set correct outline for event sub-processes 2014-05-15 08:37:45 +02:00