Nico Rehwaldt
1b2a69e9cc
chore(renderer): do not double compote TextAnnotation BBox
2016-11-15 15:14:10 +01:00
Philipp Fromme
d5fa27ead2
feat(bpmn-rules): replace start events only allowed in event sub process
...
this includes the following event definitions:
* error
* escalation
* compensate
Closes #583
2016-11-09 14:44:42 +01:00
pedesen
42a40494a7
fix(BpmnRenderer): draw instantiated receive task properly
...
* fix drawCircle parameter issue
* make BpmnRenderer test cases more restrictive
* revise inconsistent fixture diagrams to avoid warnings
Closes #627
2016-11-09 10:59:58 +01:00
pedesen
a53562e1d5
feat(BpmnRenderer): text annotations automatically fit their content
...
Closes #600
2016-11-09 08:23:34 +01:00
Ricardo Matias
88eb966c99
fix(editor-actions): remove duplicate line
2016-11-07 15:16:59 +01:00
Philipp Fromme
72c4687b35
fix(internet-explorer): fix bugs due to internet explorer
2016-11-01 15:20:22 +01:00
Philipp Fromme
db0ce65aa4
feat(graphics): remove snapsvg
...
Related to bpmn-io/diagram-js#50
2016-11-01 15:20:22 +01:00
pedesen
2c7aad5e0b
feat(modeling/BpmnUpdater): update existing (source/target)Element in di
...
Closes #620
2016-11-01 10:43:08 +01:00
Philipp Fromme
ccd5eeb758
fix(bpmn-updater): keep default flow when reconnecting sequence flow end
...
Closes #619
2016-10-19 11:10:11 +02:00
pedesen
f4023cf321
fix(draw/BpmnRenderer): ensure labels keep position if width doesn't change
...
* adjust positioning tests to pass on Arch Linux
Closes #613
2016-10-07 14:06:28 +02:00
robajz
5441b2e09e
fix(BpmnRules) allow move of muliple selected elements across pools
...
The move was prevented by MessageFlow element being included in the moved selection.
The restrictions on MessageFlow canDrop rules were eased to allow such moves.
Closes #524
2016-09-30 15:50:06 +02:00
Vladimirs Katusenoks
38c81146a3
fix(context-pad): use current context shape
...
Relates to camunda/camunda-modeler#415
2016-09-19 12:29:20 +02:00
pedesen
5b9dc626a6
chore(label-editing): ensure minimum dimensions for internal labels
...
* This ensures a reasonable text box dimension at lower zoom levels
Closes #610
2016-09-05 15:52:23 +02:00
pedesen
c13ac91e94
feat(BpmnRenderer): align label size/position to text during rendering
...
Closes #601
2016-09-02 16:43:23 +02:00
Ricardo Matias
7575af4c0f
feat(replace-menu): rework opening after element creation
...
Closes camunda/camunda-modeler#327
2016-08-31 11:02:19 +02:00
pedesen
f7f868ec67
chore(label-editing): resize textbox during direct editing
...
Related to bpmn-io/diagram-js-direct-editing#2
2016-08-29 08:56:12 +02:00
hoferch91
a8cf097ed0
feat(modeling): retain waypoints with connection on shape deletion
...
When keeping the connection when the intermittant element,
make sure we keep the waypoints, too.
closes #581
2016-08-23 17:13:25 +02:00
Ricardo Matias
18d31a7bc1
feat(editor-actions): add moving all elements to the origin
...
Related to camunda/camunda-modeler#362
2016-08-22 16:37:35 +02:00
Ricardo Matias
810a107262
feat(context-pad): open the replace menu after creating a shape
...
Closes camunda/camunda-modeler#327
2016-08-19 16:36:14 +02:00
hoferch91
13a9d24e84
fix(replace-menu): a compensation handler can also be a call-activity
...
closes #603
2016-08-16 16:02:38 +02:00
Philipp Fromme
681869fb44
fix(bpmn-ordering-provider): handle external labels seperately
...
closes #606
2016-08-16 14:56:52 +02:00
Philipp Fromme
14ae66e5bb
fix(distribute-elements): exclude boundary events from distrubution
...
closes #605
2016-08-15 15:33:25 +02:00
Philipp Fromme
91cfcd9bac
fix(modeling): handle float bendpoints in label behavior
...
* silently round all values when doing circle-line intersection
closes #602
2016-08-10 13:14:56 +02:00
hoferch91
226a0d76ed
feat(replace): properly collapse / expand SubProcess(es)
...
* correctly toggle collapse / expand state
* update children visibility
Closes #575
Closes #510
review(collapse-expand)
2016-08-09 11:33:59 +02:00
Philipp Fromme
4714a7279d
fix(replace-menu-provider): fix property name
...
* fix property name in order to ensure correct behavior
* adjust unit tests in order to ensure correct assertions
closes #571
2016-08-08 13:52:21 +02:00
Ricardo Matias
0f4dbb32bd
feat(preview-support): decouple the shared preview logic
2016-08-08 11:26:20 +02:00
Philipp Fromme
73487358a9
feat(replace-preview): rename moveVisuals to movePreview
...
related to bpmn-io/diagram-js#182 and bpmn-io/diagram-js#184
2016-08-08 11:23:49 +02:00
Philipp Fromme
7fdd9bc611
fix(snapping): snap sequence flows mid -> mid
...
With the latest version of bpmn-js it is possible to draw point
top point connections between elements.
This restores the mid -> mid connection snapping for sequence flows.
Closes #588
2016-07-18 12:59:06 +02:00
pedesen
28f7145b32
chore(draw): use lines insted of curves to render escalation events
...
Closes #592
2016-07-18 11:19:46 +02:00
Jan Stümmel
b881ca8086
fix(modeling): handle non-integer waypoints in LabelBehavior
...
* verify space tool / label layouting behavior
Closes #590
2016-07-14 08:54:45 +02:00
Jan Stümmel
6c77e23692
fix(modeling): do not layout hidden labels
...
closes #587
2016-07-05 17:19:13 +02:00
Jan Stümmel
fd198b6059
feat(modeling): move labels with connections
...
* move on segment dragging
* move on reconnect
* move on bendpoint add / remove
Closes #331
2016-07-05 12:01:08 +02:00
Adam Brengesjö
91dd1b696c
fix(replace):ComplexGateway can have default sequence flows
...
The BPMN 2.0 specification[1] states "a Sequence Flow that has an
Exclusive, Inclusive or Complex Gateway or an Activity as its source
can also be defined with as default."
This commit will honor that statement by allowing sequence flows from
Complex Gateway to be defined as default.
[1] = http://www.omg.org/spec/BPMN/2.0/
2016-06-30 14:43:29 +02:00
Nico Rehwaldt
df54005cfa
feat(modeling): repair broken connection dockings on import
...
Closes #479
2016-06-27 00:32:17 +02:00
Nico Rehwaldt
f5f05ac011
chore(layouting): account for connection(Start|End) hints
...
Related to bpmn-io/diagram-js#167
2016-06-27 00:32:16 +02:00
Nico Rehwaldt
1743c63d91
style(snapping): use constant instead of magic number
2016-06-22 18:15:20 +02:00
Nico Rehwaldt
db53608b3d
feat(connect): support point to point connection
...
Closes #578
2016-06-22 15:52:50 +02:00
Nico Rehwaldt
fcf2bbd9aa
feat(modeling/layout): improve MessageFlow layout on SubProcesses
...
Related to #574
2016-06-22 15:52:31 +02:00
Ricardo Matias
6549af7aca
feat(modeling/layout): improve message flow layout on Participants
...
Closes #574
2016-06-22 15:52:06 +02:00
Nico Rehwaldt
e99214bb6a
chore(editor-actions): factor out into own component
...
Related to bpmn-io/diagram-js#177
2016-06-21 15:29:03 +02:00
Ricardo Matias
224fa6da61
feat(align-elements): elements can be aligned
...
Related to bpmn-io/bpmn-js#177
2016-06-21 15:29:03 +02:00
Philipp Fromme
e157f1c82f
fix(bpmn-updater): keep conditions on element replace
...
Closes camunda/camunda-modeler#318
2016-06-21 14:01:41 +02:00
Ricardo Matias
b43cff1ec2
feat(copy-paste): copy Event Sub Process / Non-Interrupting Boundary
...
Closes #556 , #555
2016-06-21 13:39:37 +02:00
Philipp Fromme
1b17d45260
fix(replace-menu): add sub process to event sub process replace menu
...
Closes camunda/camunda-modeler#310
2016-06-16 15:18:51 +02:00
pedesen
e3144f8ad7
chore(auto-resize): migrate to diagram-js infrastucture
...
Closes #569
2016-06-15 20:32:40 +02:00
Ricardo Matias
cf108a9233
feat(distribute-elememts): add element distribution
...
This allows the distribution of elements evenly.
Related to bpmn-io/diagram-js#172
2016-06-15 14:01:57 +02:00
Philipp Fromme
a314e8dbfa
fix(bpmn-importer): hide sequence flows inside collapsed subprocesses
...
Closes #231
2016-06-15 11:07:02 +02:00
Philipp Fromme
6da1a0cb63
feat(replace): keep element ID on replace
...
Closes #513
2016-06-13 16:53:13 +02:00
Nico Rehwaldt
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
Nico Rehwaldt
7e93759a0d
fix(modeling/BpmnUpdater): ignore custom elements on canvas.updateRoot
...
Closes #559
2016-06-01 09:43:02 +02:00
pedesen
f15647edfd
feat(context-pad): add text annotation option for data objects/stores
...
Closes #564
2016-05-31 11:04:55 +02:00
Vladimirs Katusenoks
839ed0b8e8
fix(paste): copy process with participant
...
Closes camunda/camunda-modeler#297
2016-05-20 15:55:04 +02:00
Vladimirs Katusenoks
80d62b9873
fix(paste): set correct parent on data associations
...
Closes camunda/camunda-modeler#296
2016-05-20 12:40:15 +02:00
Vladimirs Katusenoks
a1ab8f9e7d
fix(search): do not include root element in results
...
Closes camunda/camunda-modeler#280
2016-05-18 10:42:38 +02:00
Ricardo Matias
6e8962574b
revert(textarea): support automatic-resizing textarea
...
This reverts commit 11165e2c21
.
2016-05-18 08:17:03 +02:00
Ricardo Matias
62d9b6f993
feat(Modeler): expose Viewer and NavigatedViewer constructors
...
This allows bundled users (f.ex without browserify)
to use the modeler + viewers easily without having to monkey patch or
load more than one bundled file.
Closes #541
2016-05-12 15:38:41 +02:00
Vladimirs Katusenoks
006be69d63
fix(associations): always show full data association
...
Closes #506
2016-05-09 14:36:06 +02:00
Vladimirs Katusenoks
5a02923a61
fix(connections): fix update logic on reconnecting elements
...
Closes #534
2016-05-06 16:26:02 +02:00
Ricardo Matias
30e3fdd81c
fix(copy-paste): allow pasting of elements onto lanes
...
Closes #532
2016-05-03 17:27:25 +02:00
Nico Rehwaldt
35ca66e48a
feat(auto-resize): do not expand on child element create
...
Closes #531
2016-05-03 16:56:02 +02:00
Ricardo Matias
612b93db2e
feat(copy-paste): disallow pasting of participants on some scenarios
...
Participants are not allowed to be pasted onto a Process,
if the Process already has other elements.
Closes #526
2016-05-03 15:23:45 +02:00
Ricardo Matias
3f04e18398
fix(copy-paste): correctly paste on lanes
...
Closes #516
2016-05-02 14:38:42 +02:00
hoferch91
11165e2c21
fix(textarea): support automatic-resizing textarea
...
Closes #472
2016-05-02 11:26:19 +02:00
Ricardo Matias
c586c908b2
feat(ModelingFeedback): add tooltip when pasting is disallowed
...
Only in the case of pasting outside of collaboration.
Closes camunda/camunda-modeler#252
2016-04-29 16:19:09 +02:00
Ricardo Matias
e3f27ea1d5
feat(palette): move tool's separator
...
Closes #502
2016-04-29 11:38:04 +02:00
Nico Rehwaldt
b0eea3dbef
fix(search): correct minification meta-data
...
Closes #521
2016-04-28 20:43:58 +02:00
Vladimirs Katusenoks
2371a8da23
feat(border-scroll): adding auto-scrolling near borders
...
Closes #481
2016-04-27 15:39:41 +02:00
Philipp Fromme
b86f923fe5
fix(palette): change intermediate/boundary event palette label
...
Closes #519
2016-04-27 11:13:24 +02:00
Jan Stümmel
0731c9888b
feat(modeling): I can morph tasks to expanded sub processes
...
* from expanded subprocesses to tasks or collapsed sub processes is not supported
Closes #247
2016-04-22 13:23:25 +02:00
Ricardo Matias
1b9ebfc993
feat(copy-paste): allow copying & pasting of elements
...
Closes #391
2016-04-22 09:34:53 +02:00
Jan Stümmel
489a6af3b2
fix(modeling): collapsed subprocess dont shows itself on the replace-menu
...
Solved with #247
Closes #509
2016-04-21 16:06:18 +02:00
Vladimirs Katusenoks
07a1ef29b6
fix(morphing): release id on element replace
...
Closes camunda/camunda-modeler#97
2016-04-21 11:50:36 +02:00
Vladimirs Katusenoks
bc53dc98db
fix(id): unclaim id on element remove
...
Closes #421
Fixing incorrect test+implementation for ID property update
2016-04-21 11:50:36 +02:00
Philipp Fromme
ec159381ce
fix(replace): preserve label position on element replace
...
closes #235
2016-04-20 16:13:02 +02:00
Philipp Fromme
7de043ab9d
fix(modeling): adjust position of hidden label on waypoints change
...
closes bpmn-io/diagram-js#158
2016-04-20 16:00:14 +02:00
Vladimirs Katusenoks
690881491d
chore(labels): set label above sequence flow
...
Allign for most common 'yes/no' labels - set label close to right side
2016-04-20 15:40:40 +02:00
Jan Stümmel
7811a47fae
feat(label): improve positioning of sequence flow labels
...
closes #512
2016-04-20 13:13:10 +02:00
Vladimirs Katusenoks
1923a6bdda
feat(global-connect): connect distant elements
...
Closes #474 , #394
2016-04-14 17:03:58 +02:00
Jan Stümmel
bb06a0386d
feat(modeling): combining two sequence flows when removing an element
...
combines only if removed element has one outgoing and one incoming sequence flow
Closes #433
2016-04-13 14:38:38 +02:00
Vladimirs Katusenoks
bff19786b4
feat(search): be able to search bpmn elements
...
Closes #500
2016-04-12 16:50:23 +02:00
Vladimirs Katusenoks
60720c8ae7
fix(modeling): unset gateway default on default flow delete
...
Closes #505
2016-04-04 17:24:01 +02:00
Nico Rehwaldt
9bcdd3b958
fix(rules): do not allow deletion of labels
...
Closes #499
2016-03-23 15:32:10 +01:00
Nico Rehwaldt
1a62e5925b
fix(Modeler): clear ids on destroy
2016-03-18 13:10:07 +01:00
Nico Rehwaldt
37eca38dac
feat(Viewer): make importXML callback optional
...
People could be hooking up with import via events, too.
2016-03-17 17:44:56 +01:00
Nico Rehwaldt
46d8abdd70
feat(import): allow users to hook into via events
...
This commit adds more life-cycle events users can
plug into during xml parsing and rendering:
* import.parse.start
* import.parse.complete
* import.render.start
* import.render.complete
* import.done
Some other events had to go because of that, namely
* import.start
* import.(success|error)
BREAKING CHANGE:
* the event import.start got renamed to import.render.start
* the events import.success and import.error got removed
in favour of import.render.complete (passing err, warnings)
2016-03-17 17:44:56 +01:00
Nico Rehwaldt
ff0d88bb90
chore(Viewer+Modeler): inherit from Diagram
...
* simplifies event handling
* relies on Diagram#clear to reset the diagram before
successive imports
* allows diagram services to be re-used across imports
* allows diagram services to be injected (or retrieved)
before import
Closes #237
2016-03-17 17:44:32 +01:00
Nico Rehwaldt
f573a36071
chore(Modeler): remove bpmn-moddle id-support
...
* Handle id tracking ourself.
* Do not reinstantiate moddle on re-import (now stateless)
* <3
Closes #493
2016-03-17 17:27:13 +01:00
Nico Rehwaldt
31b49fd333
feat(draw): give container elements slight transparency
...
Closes #488
2016-03-16 11:27:09 +01:00
Nico Rehwaldt
13be55dca1
fix(ordering): correctly treat transactions / ad-hoc sub-processes
2016-03-16 11:26:41 +01:00
Jan Stümmel
4732dcfc74
feat(modeling): create collapsed pools via morph menu
...
You are now able to morph between collapsed and expanded pools
* Not possible to drop elements in a collapsed pool
* if a expanded pool collapses, the children are deleted
Closes #365
2016-03-14 16:28:23 +01:00
davcs86
49173abdad
feat(i18n): add localization
...
* Palette, ContextPad, Errors...
Closes #491
2016-03-11 20:10:10 +01:00
Nico Rehwaldt
85f50ff907
fix(replace): require correct dependency modules
2016-03-11 16:59:07 +01:00
Jan Stümmel
9582a68faf
fix(textarea-size-zoom): fixes the size of a label textbox on low zoom levels
...
Closes #477
2016-03-09 14:39:52 +01:00
Nico Rehwaldt
7ad9c7106e
fix(label-editing): complete editing operation on drag init
...
Make sure the direct editing results are applied (not discarded)
when the user starts a drag operation with direct editing active.
Closes #490
2016-03-08 14:41:32 +01:00
Nico Rehwaldt
fa2254f0ef
chore(import): use is helper
2016-03-08 14:24:50 +01:00
Nico Rehwaldt
1bceaaa229
chore(modeling): move BpmnLabelSupport to behavior
...
* Make sure the label support is part of our
behavior definitions.
* Adjust test cases accordingly.
2016-03-08 14:12:52 +01:00
hoferch91
0393d51893
chore(modeling): set minimum height to one line
...
Closes #402
2016-03-07 09:11:45 +01:00
pedesen
37353c4f60
fix(modeling): mark elements as changed during label update
...
Closes #484
2016-03-03 17:27:57 +01:00
Vladimirs Katusenoks
c793c01169
fix(viewer): moddle extensions
...
Remove .only from test, replace merge with assign, add extra test
Relates to #471
2016-02-25 14:18:29 +01:00
davcs86
0fb1bf616e
feat: add additional (default!) moddle descriptor to viewer
...
Closes #471
2016-02-25 13:10:56 +01:00