This adds id logging + validation to the Modeler. As a result the
modeler will throw hard exeptions on colliding id mappings and may
generated unique ids.
Related to bpmn-io/bpmn-js#92
This enables users to instantiate Viewers/Modelers via
```
new Viewer({
additionalModules: [ ... ]
});
```
to bootstrap their own modules with the viewer without overriding the
existing ones.
This commit removes the behavior that width and height of a viewer are
automatically set to 100% unless specified otherwise.
The width and height are now optional attributes, that are only applied
if given. This way, users may still style their elements via CSS.
The project logo now properly embeds in the Viewer and links to bpmn.io.
This way, we are able to ship it as part of a bpmn-js bundle.
In addition to that change this commit upgrades to the latest diagram-js
release, too which adds support for Diagram#destroy().
Closes#15
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