Commit Graph

471 Commits

Author SHA1 Message Date
Nico Rehwaldt 2019c658df feat(modeling): add property update mechanism
This adds the modeling#updateProperties(element, props) method to the
modeler that can be used to set BPMN 2.0 properties on elements.

By assigning the properties this way, the modeler is aware of the
elements that got changed and can update / redraw the elements
accordingly.

This hooks up with the modelers undo/redo chain, too.

Related to #167
2015-01-02 16:15:18 +01:00
Nico Rehwaldt 07ba58d805 fix(import): import message flows to dangling process
Closes #166
2015-01-02 12:56:32 +01:00
Nico Rehwaldt 74092d40a2 chore(Modeler): remove bpmn-js-cli 2014-12-30 22:53:58 +01:00
Nico Rehwaldt 5027179149 chore(project): release v0.7.0 2014-12-29 13:10:43 +01:00
Nico Rehwaldt 181e3ccc44 chore(project): bump dependencies 2014-12-29 13:02:06 +01:00
Nico Rehwaldt 6c8366ec84 chore(project): upgrade jsondiffpatch + karma-browserify 2014-12-23 16:56:35 +01:00
Nico Rehwaldt 2909847ac8 feat(direct-editing): rework editing
This commit updates the default direct editing behavior.

It activates on non-touch environments only and only on embedded
labels, too.

This provides a way smoother modeling experience.
2014-12-23 16:56:35 +01:00
Nico Rehwaldt 355059c30a feat(modelling): unify drag/drop handling from palette/context-pad
Related to bpmn-io/diagram-js#60
2014-12-23 16:56:35 +01:00
jdotzki 1dd19fdb0d fix(contextpad): different handling for deletion of shapes and connections
See bpmn-io/bpmn-js#121
2014-12-23 14:24:34 +01:00
jdotzki fd76cc98dd fix(BpmnImporter): Round diagram coordinates on import
The model coordinates stay intact until shape is changed.
2014-12-22 11:44:44 +01:00
Nico Rehwaldt 574af0814d feat(bpmn-js): add #destroy method and allow custom position
Closes #100
2014-12-18 09:45:45 +01:00
Nico Rehwaldt 82952e7414 chore(project): release v0.6.1 2014-12-18 08:54:45 +01:00
Nico Rehwaldt 18784c5994 fix(label-editing): listen to correct events 2014-12-17 21:55:03 +01:00
Nico Rehwaldt 003b4f2be6 chore(project): release v0.6.0 2014-12-10 15:54:19 +01:00
Nico Rehwaldt 95c8e4ec81 chore(dependencies): bump versions 2014-12-10 15:54:06 +01:00
Nico Rehwaldt 799273b88d chore(import): log import errors to console 2014-12-09 18:32:34 +01:00
Nico Rehwaldt 710ff1be58 test(import): do not check internals 2014-12-09 18:04:59 +01:00
Nico Rehwaldt 7246b75708 chore(Viewer): compress code 2014-12-08 14:04:44 +01:00
Nico Rehwaldt ee4550867d chore(dependencies): upgrade jasmine-test-container-support
Adds proper labels for test cases in Firefox.
2014-12-08 10:51:19 +01:00
Nico Rehwaldt 429a903dd5 style(*): fix jshint warnings 2014-12-07 15:10:02 +01:00
Nico Rehwaldt 6041717c6c feat(modeling): implement create via palette/context-pad
Related to #137
2014-12-07 13:08:50 +01:00
Nico Rehwaldt 982033074b fix(draw): use correct height for bpmn:TextAnnotation 2014-12-07 13:06:32 +01:00
Nico Rehwaldt e387768ef1 fix(modeling): use correct parent for bpmn:TextAnnotation 2014-12-02 08:36:15 +01:00
Nico Rehwaldt a5ed6aa9db test(modeling/move): add label move undo tests 2014-11-28 13:19:57 +01:00
Nico Rehwaldt 9e37037ac6 fix(move): adjust positioning of all attached labels 2014-11-28 11:38:06 +01:00
Nico Rehwaldt 3af41e2e7e fix(rules): restrict movement on flow elements only
For the moment we allow moving flow elements in between diagrams, only.
2014-11-27 11:56:31 +01:00
Nico Rehwaldt 2258642cb4 fix(modeling): skip updating BPMN parent on label move 2014-11-27 11:55:38 +01:00
Nico Rehwaldt f363356fcb fix(import): handle multiple DI elements per semantic
Closes #158
2014-11-26 20:54:52 +01:00
Nico Rehwaldt e2aaf342f7 feat(import): wire root element
Related to #151
2014-11-26 18:17:52 +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 2f679a36b9 feat(modeling): move to rules infrastructure
Related to bpmn-io/diagram-js#55
2014-11-21 09:22:51 +01:00
Nico Rehwaldt 90513e94b4 feat(toolkit): use 100% as default height / width 2014-11-21 09:22:51 +01:00
Nico Rehwaldt 2707fc8858 chore(test): fix brfs include encoding 2014-11-21 09:22:51 +01:00
Nico Rehwaldt 3d66502ee8 chore(test): assign fixed height to test containers 2014-11-21 09:22:51 +01:00
jdotzki 51918b3493 feat(drop): basic implementation
This commit adds a basic implementation for model drop

* using rules to check whether the drop is allowed
* updating the model after drop

See #127
2014-11-21 09:21:41 +01:00
Nico Rehwaldt c2fe8ec5d9 chore(dependencies): upgrade karma-bro -> karma-browserify 2014-11-17 18:26:07 +01:00
Nico Rehwaldt 3830da4705 chore(icons): update font 2014-11-17 18:26:07 +01:00
Nico Rehwaldt 0b8baccd32 feat(palette): migrate to icon font
Related to #148
2014-11-17 18:26:07 +01:00
Nico Rehwaldt 3a377a3871 chore(core/ElementRegistry): pull API changes
Related to #153
2014-11-17 17:36:22 +01:00
Nico Rehwaldt b1f310a1db feat(context-pad): use font to render symbols
Related to #148
2014-11-17 11:02:25 +01:00
Nico Rehwaldt 8deb9d30a1 fix(import): ensure correctly import *associations
This commit ensures we correctly detect and import
Data*Associations and Associations.

It aligns logging across the import components, too, being slightly more
verbose and helpful.

Related to #112
2014-10-31 15:05:16 +01:00
Nico Rehwaldt 447086bbdf fix(import): correctly import label DI
Related to #145
2014-10-30 12:07:28 +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
Nico Rehwaldt 05b044e64d feat(import): forgive missing bpmnPlane#bpmnElement
Related to #146
2014-10-28 15:13:52 +01:00
jdotzki 86f66bc534 improve(resize): allow to set minimum size for element 2014-10-14 17:26:50 +02:00
jdotzki 1e224370e2 improve(resize): restrict resizable elements
related bpmn-io/bpmn-js#140
2014-10-14 09:12:03 +02:00
jdotzki 392dfaee41 feat(resize): add ability to resize shapes
see #140
2014-10-10 09:06:21 +02:00
jdotzki 4ab6c472df fix(bpmnpaletteprovider): workaround for incorrect layouting of connections
The layout algorithm is broken for decimal coordinates see #143
This is a workaround to not trigger the bug when using the palette.
2014-10-08 11:38:01 +02:00
jdotzki 5633dc0b78 improve(elementfactory): changed default size for SubProcesses
- expanded: with enough space for a small process
- collapsed: same size as Tasks
2014-10-07 11:54:21 +02:00
jdotzki 0ffdbb7fbb fix(bpmnpaletteprovider): change , to ;
related #141
2014-10-06 15:46:26 +02:00