Beatriz Mendes
5eaf74e91b
fix(modeling): use stroke color for labels when setting color ( #1655 )
...
Closes #1653
2022-05-19 20:23:05 +02:00
Nico Rehwaldt
4e08a1c703
chore: switch to truely multi-root aware mode
...
Use new `Canvas#*RootElement` APIs.
2021-12-14 11:58:10 +00:00
Nico Rehwaldt
4204c2bb2a
Merge branch 'master' into develop
2021-12-03 17:38:54 +01:00
Nico Rehwaldt
3a96864a97
fix(modeling): set label color on `bpmndi:BPMNLabel#color`
...
Related to https://github.com/camunda/camunda-modeler/issues/2599 .
2021-12-03 17:14:26 +01:00
Martin Stamm
769bcbeeff
chore: adjust features to new DI structure
...
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Joel Knott
8d90d4dc63
chore: use ES6 exports
...
Modified the file to use 'export default' instead of 'module.exports'
so that I don't get errors stating that there is no default export.
2021-08-25 08:41:34 +02:00
Maciej Barelkowski
439bc4ead0
feat(modeling): use BPMN in Color for color setting
...
Additionally to custom bpmn.io properties, `modeling#setColor` will use
[BPMN in Color properties](https://github.com/bpmn-miwg/bpmn-in-color ).
2021-05-27 12:43:53 +00:00
Nico Rehwaldt
667d469f38
feat(modeling): provide generic moddle properties update API
...
Modeling#updateModdleProperties allows users to update moddle elements
that are backed up by diagram elements.
It provides us a path forward when we start to update more _hidden_
things from within the modeling canvas.
2020-11-19 14:24:59 +00:00
Alexis Zeghers
4b46f695ce
feat(modeler): add toggle to mark a data object as a collection
...
Closes #381
2020-11-18 10:03:46 +00:00
Nico Rehwaldt
368f9e14b5
fix(modeling): make AddLaneHandler recognize top-level labels
...
Related to https://github.com/camunda/camunda-modeler/issues/1715
2020-03-09 14:50:37 +01:00
Nico Rehwaldt
d902a970e8
fix(modeling): update AddLaneHandler to new spaceTool API
...
Related to https://github.com/camunda/camunda-modeler/issues/1715
2020-03-09 14:50:37 +01:00
Philipp Fromme
59de7598b1
Merge branch 'master' into develop
2019-10-11 16:38:08 +02:00
Philipp Fromme
168a1493b2
fix(modeling): do not duplicate flow node refs
...
Closes: https://github.com/camunda/camunda-modeler/issues/1504
2019-10-11 16:29:24 +02:00
Jonathan Irwin
e65809f246
docs(project): correct spelling
2019-09-09 12:21:33 +02:00
Maciej Barelkowski
33156e43be
chore(project): fix linting errors
2019-08-19 14:27:33 +00:00
Philipp Fromme
100f3fb2ee
fix(label-behavior): text annotation resizing after text property change
...
Depends on bpmn-io/diagram-js#259
Related to camunda/camunda-modeler#631
2018-06-13 11:02:55 +02:00
Nico Rehwaldt
4bb270f192
chore(draw): unify text rendering into service
...
A newly introduced TextRenderer is responsible for text
rendering and text related bounds computation.
This removes a bunch of code duplication, too.
2018-05-24 16:26:01 +02:00
Philipp Fromme
7537757357
feat(labels): labels can be deleted
...
Related to camunda/camunda-modeler#243
2018-05-24 16:22:51 +02:00
Philipp Fromme
690417b389
feat(modeling): allow data store anywhere in collaboration
...
ensure valid BPMN 2.0 parent when
* creating/moving data store
* removing participant
* turning process into collaboration
* turning collaboration into process
Closes #483
2018-05-17 15:09:37 +02:00
Nico Rehwaldt
9be61259bd
chore(project): drop 'use strict'
...
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
Nico Rehwaldt
d3449ca87c
chore(project): es6ify source code
...
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
Nico Rehwaldt
11f5a22471
chore(project): adjust min-dash usage (2)
2018-03-22 11:59:39 +01:00
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
19e4e19bb5
chore(project): migrate to new SECTION comments
2018-02-27 09:57:22 +01:00
Philipp Fromme
f047fefd89
fix(update-properties-handler): fix typo
2018-01-31 18:21:16 +01:00
Nico Rehwaldt
cbb2f9f600
fix(modeling): correct DI updating
...
Don't assign <di> property to businessObject; will
be serialized as di="[Object...]" otherwise.
Closes #756
2018-01-31 12:22:31 +01:00
Nico Rehwaldt
3124f9ba96
chore(modeling): minor SetColorHandler cleanup
2018-01-31 12:16:08 +01:00
Philipp Fromme
81de98f786
feat(bpmn-renderer): use updated text util api
...
Related to bpmn-io/diagram-js#205
2017-03-02 10:55:40 +01:00
Philipp Fromme
a2f33b8e93
feat(modeling): add API for setting fill/stroke color
...
Closes #629
2016-12-05 17:01:04 +01: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
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
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
davcs86
49173abdad
feat(i18n): add localization
...
* Palette, ContextPad, Errors...
Closes #491
2016-03-11 20:10:10 +01:00
pedesen
37353c4f60
fix(modeling): mark elements as changed during label update
...
Closes #484
2016-03-03 17:27:57 +01:00
Nico Rehwaldt
a046b14d6f
feat(modeling): allow passing shapes to modeling#updateProperties
...
Closes #430
2015-12-08 15:18:13 +01:00
Nico Rehwaldt
283ddae6d3
fix(modeling/cmd): do not fail updating non-changed id
...
Closes #420
2015-11-25 21:53:02 +01:00
Nico Rehwaldt
d789342b10
feat(modeling): update Lane#flowNodeRefs while modeling
...
Closes #387
2015-10-20 16:05:24 +02:00
Nico Rehwaldt
5e26068f99
feat(modeling): add lane modeling operations
...
This commit adds the functionality to
* add a lane (above/below an existing one)
* split a lane into sub lanes
* remove a lane
* resize a lane
Closes #379
Closes #338
2015-10-20 15:47:12 +02:00
Kristin Polenz
188487ebdc
feat(modeling/UpdateProperties): unclaim old business object id
2015-10-05 16:13:46 +02:00
Nico Rehwaldt
8b5572d3c4
fix(draw): hide empty on import + show on property update
...
Closes #362
2015-10-05 15:40:49 +02:00
Nico Rehwaldt
4891eb4f84
fix(draw): show labels with text
...
Closes #362
2015-09-14 16:20:49 +02:00
Ricardo Matias
75dc681d46
feat(modeling): add boundary events behavior
...
This commit adds support for modeling boundery events.
Users may pull out the boundary events from the palette.
Closes #292
2015-07-22 17:23:31 +02:00
Nico Rehwaldt
71a5c2e1ed
fix(modeling): correctly update extension attributes
...
Closes #301
2015-06-22 14:35:30 +02:00
Nico Rehwaldt
0a03e59866
feat(modeling): add participant modeling behavior
...
This commit adds the ability to model participants from the palette.
* Empty diagrams can be used as a start for participant _AND_ process diagram
* Process diagrams can be converted to collaboration diagrams by dropping
a participant onto them
Closes #128
2015-04-14 15:23:16 +02:00
Nico Rehwaldt
2e73f5ab85
fix(modeling): update id property in diagram-js, too
...
This fixes a bug where updating the id property of an element
was not propagated to the diagram. Thus, retrieving the element
based on the new id from diagram-js did not work.
Closes #238
2015-04-13 10:55:17 +02: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
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
2c5548423b
chore(modeling): remove custom shape.append handler
2014-08-28 17:38:51 +02:00
jdotzki
c67709ce34
feat(modeling): allow append TextAnnotation
...
Closes #90
2014-08-05 17:21:49 +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