Hi Karol,
By default, the swim lane can be resized horizontally and vertically. So you need not define nodeConstraints in your sample. Please refer to the modified code example in which we have shown how to disable the resize constraints.
Code example:
Your code example
var swimlane = {
//disables resizing
constraints: NodeConstraints.Default & NodeConstraints.Resize
};
Modified code example:
var swimlane = {
//disables resizing
constraints: NodeConstraints.Default &~ NodeConstraints.Resize
};
We have modified your JSPlayground link.
Regards,
Shyam G