camunda-bpmn-js 3.5.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.
@@ -13367,13 +13367,14 @@
13367
13367
  *
13368
13368
  * @param {SVGElement} visual The graphical element.
13369
13369
  * @param {ShapeLike} element The shape.
13370
+ * @param {Object} attrs Optional attributes.
13370
13371
  *
13371
13372
  * @return {SVGElement}
13372
13373
  */
13373
- GraphicsFactory.prototype.drawShape = function(visual, element) {
13374
+ GraphicsFactory.prototype.drawShape = function(visual, element, attrs = {}) {
13374
13375
  var eventBus = this._eventBus;
13375
13376
 
13376
- return eventBus.fire('render.shape', { gfx: visual, element: element });
13377
+ return eventBus.fire('render.shape', { gfx: visual, element, attrs });
13377
13378
  };
13378
13379
 
13379
13380
  /**
@@ -13394,13 +13395,14 @@
13394
13395
  *
13395
13396
  * @param {SVGElement} visual The graphical element.
13396
13397
  * @param {ConnectionLike} element The connection.
13398
+ * @param {Object} attrs Optional attributes.
13397
13399
  *
13398
13400
  * @return {SVGElement}
13399
13401
  */
13400
- GraphicsFactory.prototype.drawConnection = function(visual, element) {
13402
+ GraphicsFactory.prototype.drawConnection = function(visual, element, attrs = {}) {
13401
13403
  var eventBus = this._eventBus;
13402
13404
 
13403
- return eventBus.fire('render.connection', { gfx: visual, element: element });
13405
+ return eventBus.fire('render.connection', { gfx: visual, element, attrs });
13404
13406
  };
13405
13407
 
13406
13408
  /**