I have built my own swimlane following the swimlane template and have two questions regarding the dragSelectingTool:
- I am trying to change the fill, stroke, and stroke width of the drag selecting tool. However, the behavior is not working as expected. Either I don’t see the box at all or it jumps around on the screen. What am I missing? This is the code I am adding to the template above:
.
myDiagram.toolManager.dragSelectingTool.box =
$(go.Part,
$(go.Shape,
{
fill: 'rgba(78,115,223,0.15)',
stroke: '#4e73df',
strokeWidth: 2
}
)
);
- Additionally, I would like to activate the drag selecting tool when click-holding on a swimlane. How do I make this possible?
Thanks in advance for your help.