This commit adds a straight layouting strategy for message flows.
Other than that it makes sure connection attachments are being
remembered during reconnection / shape move.
Closes#249Closes#179
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
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
We previously inherited the test matchers from diagram-js.
With the diagram-js migration to Mocha, the matchers changed.
As a result Jasmine silently discarted a number of test cases on our
suite.
This restores the old matchers from diagram-js in our project.
This simplifies the ways we work with replacements.
Instead of monkey-patching the original replace functionality we
* create the business object / target object
* pass it to replace
A simple way that works well with our existing infrastructure.
Other changes:
* fixes redo / undo issues.
* splits context-pad + replace
Closes#180
This may have unwanted side-effects, i.e. when using id
validation and caching.
We must ensure the meta-model element is actually instance stateless in
order to safely cache it.
This temporarily disallows connections from and to the same element
because it rendered the connection unusable..
This change can be reverted once proper auto layout for circular connections is implemented.
Closes#176
It is now possible to add bendpoints to flows or drag bendpoints to
update their position / trigger reconnects.
Upon bendpoint move a rule is checked to figure out whether or not a
bendpoint operation is allowed or not.
Closes#123Closes#138Closes#139Closes#165
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
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.