Martin Stamm
29a6636ac7
feat(import): support importing multiple diagrams at once
...
closes #1474
2021-10-08 10:16:03 +02:00
Martin Stamm
597c417dce
chore: throw error when accessing DI from business object
...
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
Martin Stamm
2b11d871cd
feat: decouple DI from businessObject
...
In the diagram `di` is now accessed via the diagram element, not the
business object. This has the benefit that elements in multiple diagrams
can easily be represented.
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
BREAKING CHANGE:
* Instead of referencing the `di` from the business object, reference it
from the diagram element representing it.
2021-09-03 15:14:00 +02:00
Martin Stamm
d19c4b0027
fix(import): pass context during collaboration import
2021-08-30 09:41:34 +00:00
Philipp Fromme
2dd1e13305
chore(documentation): fix JSDoc boolean types
2020-04-07 06:52:55 +00:00
Philipp Fromme
7a67ff95b2
chore(documentation): fix JSDoc string types
2020-04-07 06:52:55 +00:00
Maciej Barelkowski
33156e43be
chore(project): fix linting errors
2019-08-19 14:27:33 +00:00
Niklas Kiefer
5a7d579d3a
fix(import): handle data associations on boundary import
...
Closes #1170
2019-08-19 08:19:04 +00:00
Maciej Barelkowski
00b7d9ecc2
fix(import/BpmnTreeWalker): pass context to unhandled process handler
2019-04-16 09:15:14 +00:00
Nico Rehwaldt
67b9711399
feat(import/BpmnTreeWalker): make businessObject#di prop configurable
...
This allows advanced use-cases such as lazy importing
elements into the diagram.
2018-04-25 21:31:43 +02:00
Philipp Fromme
12a38da9c7
feat(import): expose additional BpmnTreeWalker functionality
...
* expose API needed for lazy sub-process imports
* also changes #handleDeferred to NOT expect deferred
as a parameter anymore
Related to bpmn-io/bpmn-js-signavio-compat#1
2018-04-25 21:31:02 +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
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
b03014fc2c
chore(project): update to new lint style
2018-02-27 10:08:31 +01:00
Nico Rehwaldt
19e4e19bb5
chore(project): migrate to new SECTION comments
2018-02-27 09:57:22 +01:00
Nico Rehwaldt
1e6186e3ce
feat(draw): render sequence flows behind tasks
...
* ordering provider ensures sequence flows appear
behind tasks
* importer makes sure we render elements in the order
lanes > sequence flows > other flow elements
* consistent minimal opacity ensures elements in
front of tasks don't look _connected_
Closes #727
2017-12-14 11:56:00 +01:00
davcs86
49173abdad
feat(i18n): add localization
...
* Palette, ContextPad, Errors...
Closes #491
2016-03-11 20:10:10 +01:00
Nico Rehwaldt
7196624b8c
fix(import): import dataAssociations on events
...
Closes #455
2016-01-25 16:02:59 +01:00
David Luis Wiegandt
6e2ec62b00
feat(Viewer): indicate empty model through an error
...
Fail import with an error message if the XML does not contain
a valid diagram.
Closes #417
2015-12-08 15:18:13 +01:00
Nico Rehwaldt
4be7324856
chore(import): compute FlowNode#lanes
2015-10-20 16:05:24 +02:00
Nico Rehwaldt
523c10b5c6
feat(import): add flowElements to participant
...
This changes the tree walker to add FlowElements directly to a
participant, independent of their lane assignments.
2015-10-20 15:47:12 +02:00
Nico Rehwaldt
f8d6658c10
fix(import): import elements with missing #flowNodeRef
...
We now properly import lane children with missing #flowNodeRef.
Closes #340
2015-08-25 15:49:00 +02:00
Nico Rehwaldt
4854c96067
fix(import): correctly dispatch parse warnings
...
Fixes our bpmn-moddle integration to correctly dispatch parse warnings
from bpmn-moddle to the client.
Related to bpmn-io/moddle-xml#5
Closes #58
2015-02-17 11:00:00 +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
07ba58d805
fix(import): import message flows to dangling process
...
Closes #166
2015-01-02 12:56:32 +01:00
Nico Rehwaldt
799273b88d
chore(import): log import errors to console
2014-12-09 18:32:34 +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
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
05b044e64d
feat(import): forgive missing bpmnPlane#bpmnElement
...
Related to #146
2014-10-28 15:13:52 +01:00
Nico Rehwaldt
ec83cc67d9
feat(import): deferred import connections
2014-07-23 18:53:04 +02:00
Nico Rehwaldt
f380a4b044
feat(lib/core): use directly linked data-model
...
Closes #91
2014-07-17 14:08:15 +02:00
Nico Rehwaldt
ae60914146
fix(import): handle invisible root elements
...
This commit ensures we pipe invisible root elements (Process,
Collaboration) through our import infrastructure, too.
This way we we receive proper events for them.
Related to #6
2014-07-17 14:06:29 +02:00
jdotzki
551b445837
feat(bpmntreewalker): improve 'boundary event' handling
...
- correct z-index of boundary event close #75
- also render 'boundary events' that have no flowNodeRef close #66
2014-07-15 12:43:30 +02:00
Nico Rehwaldt
8ad29d034d
fix(import): forgive invalid flowElements
...
Instead of failing hard when we parse invalid flow elements (i.e.
TextAnnotation) we log a warning that may be handled by the diagram
import.
Related to #74
2014-06-23 14:44:03 +02:00
Nico Rehwaldt
4b135fd9e7
fix(importer): show better error if no BPMNPlane#bpmnElement
...
Closes #40
2014-05-23 16:31:28 +02:00
Nico Rehwaldt
a57cb76943
chore(dependencies): update moddle
2014-04-28 15:36:13 +02:00
Nico Rehwaldt
b432c35e7e
fix(import/BpmnTreeWalker): correct typo
2014-03-27 16:50:31 +01:00
Nico Rehwaldt
144776399f
refactor(import+examples): reorganize files
2014-03-25 14:08:11 +01:00