Group menu option select nodes

This commit is contained in:
Jairo Correa 2023-10-14 12:11:49 -03:00
parent 3fcab0c642
commit a7b65b9505
1 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,15 @@ app.registerExtension({
}
}
options.push({
content: "Select Nodes",
callback: () => {
this.selectNodes(nodesInGroup);
this.graph.change();
this.canvas.focus();
}
});
// Modes
// 0: Always
// 1: On Event