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 }.
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
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
This commit fixes the append node command by caching and reusing created
shapes and bpmn elements.
This ensures we do not invalidate actions that build on these element
references.
Related to #6
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
This commit extracts the main import logic found in import/Importer into
the core/BpmnImporter module. By doing so we we are able to reuse it
during modeling.
Related to #6
This commit upgrades the code base to the latest diagram-js changes and
adds a component called BpmnRegistry that can be used to retrieve a
certain BPMN/DI element from a shape/connection id.
Related to #19