fires when a pointing device button is pressed while the pointer is over a connector line

void lineMouseDown(string|number id,MouseEvent e){ ... };


idstring|numberthe id of a connector
eMouseEventa native HTML event object

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

Related samples

See also
Change log

Added in v4.0

Back to top