I try to draw a new layer on top of bpmn diagram to add some specific information in this layer.
I was able to create a new layer:
var canvas = viewer.get('canvas'); var layer=canvas.getLayer("TestLayer");
But layer is not placed on top of diagram and has width and height with 0.
How is it possible to place layer directly on top of last layer with same size to add specific content on diagram?