Two Resizing Tools active at a given instance

I have a BPMN diagram implemented with suggestions for you which has multiple lanes (row) and status(columns)

  • Its a kind of mix of two samples ( BPMN sample and another of tabluar layout (row/columns).

For this diagram provided a resizing of rows & columns using RowColumnReizingTool.js

Also provided possibility to resize multiple activity/task nodes using ResizingTool.js (mutliple resize of nodes)

And added the two resizing tools -

this.diagram.toolManager.mouseDownTools.insertAt(0, new RowColumnResizingTool());
this.diagram.toolManager.resizingTool = new ResizeMultipleTool();

I found that only one resizing tools works based on their sequence. How I can achieve same with two separate JS files and two resizing tools active ?
OR Do i merge the functionality in single ResizeTool.js ??

Only one Tool can be running at a time, but you can let them decide which tool should run by overriding the canStart method of the RowColumnResizingTool to return false when you want another tool to run instead.

Basically the ToolManager asks all of the Tools in the mouseDownTools list in order whether they can start. The first one that returns true is the one that runs.

What is the RowColumnResizingTool?
GoJS provides two separate tools:
https://gojs.net/latest/extensions/RowResizingTool.js
https://gojs.net/latest/extensions/ColumnResizingTool.js

Or are you referring to a renamed LaneResizingTool?
https://gojs.net/latest/extensions/BPMN.js

If you want a tool that resizes multiple rows to have the same height, you need to modify that tool. The ResizeMultipleTool only resizes GraphObjects, not rows or columns.