resetSwimlane()
Description
Resets active swimlane
Usage
resetSwimlane(): void;
Example
// initialization of the diagram
const diagram = new dhx.Diagram("diagram_container", {
// config options
});
diagram.data.parse(data);
diagram.cellManager.setSwimlane("main"); // sets active swimlane
// your actions with swimlane
diagram.cellManager.resetSwimlane(); // resets active swimlane
Change log: Added in v4.0
Related articles: Configuring Swimlanes