camunda-bpmn-js 3.4.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13356,13 +13356,14 @@
13356
13356
  *
13357
13357
  * @param {SVGElement} visual The graphical element.
13358
13358
  * @param {ShapeLike} element The shape.
13359
+ * @param {Object} attrs Optional attributes.
13359
13360
  *
13360
13361
  * @return {SVGElement}
13361
13362
  */
13362
- GraphicsFactory.prototype.drawShape = function(visual, element) {
13363
+ GraphicsFactory.prototype.drawShape = function(visual, element, attrs = {}) {
13363
13364
  var eventBus = this._eventBus;
13364
13365
 
13365
- return eventBus.fire('render.shape', { gfx: visual, element: element });
13366
+ return eventBus.fire('render.shape', { gfx: visual, element, attrs });
13366
13367
  };
13367
13368
 
13368
13369
  /**
@@ -13383,13 +13384,14 @@
13383
13384
  *
13384
13385
  * @param {SVGElement} visual The graphical element.
13385
13386
  * @param {ConnectionLike} element The connection.
13387
+ * @param {Object} attrs Optional attributes.
13386
13388
  *
13387
13389
  * @return {SVGElement}
13388
13390
  */
13389
- GraphicsFactory.prototype.drawConnection = function(visual, element) {
13391
+ GraphicsFactory.prototype.drawConnection = function(visual, element, attrs = {}) {
13390
13392
  var eventBus = this._eventBus;
13391
13393
 
13392
- return eventBus.fire('render.connection', { gfx: visual, element: element });
13394
+ return eventBus.fire('render.connection', { gfx: visual, element, attrs });
13393
13395
  };
13394
13396
 
13395
13397
  /**