I’m creating a very specific system and I need the names of the lanes to be one of a list of already defined names.
is there any way to create the lane with a name?
I found a function that creates the lane, but apparently it doesn’t expect any parameters to add the name to it.
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?
1 Like
Yess, it was exactly what I was looking for, thanksss
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.