I want to get the lane element/label with reference to any element inside a lane.
I want to get lane for “System 1”. Something like:
var canvas = bpmnio.modeler.get(‘canvas’);
// if “system 1” id is “DataStoreReference_0vnq30r”
var systemObj = canvas._elementRegistry._elements[‘DataStoreReference_0vnq30r’];
var systemElement = systemObj.element;
// upto this i can get system detail but i want its parent lane, something like
var lane = getLaneElement( systemElement ); // just example
// lane = object of lane ( labelled as “Lane 1” )
Is it possible by any way or please suggest a solution for the problem. Many thanks in advance.