fires on clicking a group

void groupClick(string|number id,MouseEvent event){ ... };


idstring|numberthe id of a group
eventMouseEventa native HTML event object

Example"groupClick", (id, event) => {
    console.log(id, event);
// For diagram editor"groupClick", (id, event) => {
    console.log(id, event);


If a click is done over a swimlane, the event will be fired on the cell of the swimlane.

See also
Change log

Added in v4.0

Back to top