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
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
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
18784c5994
fix(label-editing): listen to correct events
2014-12-17 21:55:03 +01:00
Nico Rehwaldt
710ff1be58
test(import): do not check internals
2014-12-09 18:04:59 +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
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
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
2f679a36b9
feat(modeling): move to rules infrastructure
...
Related to bpmn-io/diagram-js#55
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
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
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
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
d3dbeb1375
feat(bpmnpaletteprovider): BPMN item provider for the palette
...
close bpmn-js#137
2014-10-06 12:23:22 +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
8cc530bf58
feat(modeling): move external labels with nodes
...
Closes #105
2014-09-11 17:22:59 +02:00
Nico Rehwaldt
179121880f
test(bpmn-moddle): create integration test
2014-09-08 19:04:07 +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
d0644c953a
feat(modeling): integrate connection repair
2014-09-04 13:47:31 +02:00
Nico Rehwaldt
a301acc4c4
feat(modeling): integrate connection.move
...
Related to #125
2014-08-28 16:17:55 +02:00
Nico Rehwaldt
5f986dcb3a
test(import): assert correct number of children
2014-08-28 14:27:13 +02:00
Nico Rehwaldt
c685c0fcce
feat(project): add manhattan style layouting for flows
...
Related to #48
2014-08-27 16:55:26 +02:00
Nico Rehwaldt
5a2c5c425c
chore(navigation): move features to diagram-js
...
This commit moves the navigation features from bpmn-js to diagram-js so
that they can be reused in other modeling / viewer tools.
Related to #124
BREAKING CHANGE:
Navigation features have been moved to diagram-js. If you use them in
custom bundles, update their location accordingly:
bpmn-js/lib/features/movecanvas -> diagram-js/lib/navigation/movecanvas
bpmn-js/lib/features/zoomscroll -> diagram-js/lib/navigation/zoomscroll
bpmn-js/lib/features/touch -> diagram-js/lib/navigation/touch
2014-08-27 15:43:18 +02:00
jdotzki
470e0f88ba
feat(modeling): update bpmn model on remove
...
On removeShape/removeConnection the BPMN model is updated accordingly.
related to #106
2014-08-22 15:20:48 +02:00
jdotzki
7e345a348e
test(importer): attribute default value
...
Make sure 'eventGatewayType' get default value if undefined.
2014-08-18 12:38:41 +02:00
jdotzki
b5ba814952
improve(viewer): clean up SVG before export
...
Remove outer-marker-bound <rect> from export.
close bpmn-io/bpmn-js#97
2014-08-17 12:17:15 +02:00
Nico Rehwaldt
6be9a9e0e4
test(Modeler): fix overlay expectations
2014-08-12 11:53:38 +02:00
Nico Rehwaldt
86d5c20f07
fix(modeling): strip all namespaces for semantic id generation
...
Related to #108
2014-08-12 11:03:47 +02:00
jdotzki
58b9964828
improve(bpmnfactory): add semantic element IDs
...
The ID will have an semantic prefix: SequenceFlow_6bpz90i
related to bpmn-io/bpmn-js#108
2014-08-11 17:55:54 +02:00
Nico Rehwaldt
ac3669f0ca
feat(Modeler): include bpmn-js-cli
2014-08-08 14:42:50 +02:00
Nico Rehwaldt
08f45fd444
test(Modeler): add additional overlay
2014-08-07 22:09:12 +02:00
Nico Rehwaldt
4f6d57accf
fix(Viewer): freakin fix SVG export performance
...
From /.*<svg[^>]*>|<\/svg>.*$/g to /^.*<svg[^>]*>|<\/svg>.*$/g, spot the
difference.
2014-08-06 15:22:06 +02:00
Nico Rehwaldt
fb86037cdd
fix(modeling): properly update sourceRef/targetRef for associations
...
Related to #90
2014-08-05 17:57:19 +02:00
Nico Rehwaldt
8116941fca
test(overlays): add overlay support tests
...
Related to #54
2014-08-05 17:02:03 +02:00
Nico Rehwaldt
c21b295ec2
feat(Viewer): fire <import.*> events
2014-08-05 08:34:54 +02:00
Nico Rehwaldt
911e991bc8
chore(tests): instantiate modeler only when neccessary
...
This commit replaces the test helper #bootstrapBpmnJS with either
This ensures we can have different Modeler/Viewer specific bootstrap
code being called based on whether we test modeling or viewing only
features.
2014-08-05 08:17:22 +02:00
Nico Rehwaldt
925fbc98b8
chore(project): pull bpmn-moddle changes
2014-08-04 16:32:11 +02:00
Nico Rehwaldt
b1663db035
fix(modeling): correct initial label positioning
2014-08-04 09:34:45 +02:00