Is there a function or any way to force a render in bpmn io?

This is my modeler:

    const modeler = (modelerRef.current = new Modeler({
      container: bpmContainerRef.current,
      keyboard: {
        bindTo: window
      },
      propertiesPanel: {
        parent: "#properties"
      },
      additionalModules: [
        BpmnColorPickerModule,
      ],
    })
    )

and those methods I’ve found there:

[Is There a way to create a lane already with name?]

  • You can create the lane and then update the label:
const newLane = modeling.addLane(target, position);
modeling.updateLabel(newLane, "new label");
  • Does this work for you?