Reputation: 181
How can I change the label/name and id of a lane in bpmn-js
or bpmn-moddle
.
Upvotes: 1
Views: 696
Reputation: 181
Set it just on the business object of the lane.
import { getBusinessObject } from 'bpmn-js/lib/util/ModelUtil';
const bo = getBusinessObject(laneElement);
bo.id = 'someId';
bo.name = 'Some Name';
Upvotes: 1