We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37584b0 commit 67a8fa6Copy full SHA for 67a8fa6
src/canvas-extensions/commands-canvas-extension.ts
@@ -34,6 +34,18 @@ export default class CommandsCanvasExtension {
34
)
35
})
36
37
+ this.plugin.addCommand({
38
+ id: 'select-all-edges',
39
+ name: 'Select all edges',
40
+ checkCallback: CanvasHelper.canvasCommand(
41
+ this.plugin,
42
+ (_canvas: Canvas) => true,
43
+ (canvas: Canvas) => canvas.updateSelection(() =>
44
+ canvas.selection = new Set(canvas.edges.values())
45
+ )
46
47
+ })
48
+
49
this.plugin.addCommand({
50
id: 'zoom-to-selection',
51
name: 'Zoom to selection',
0 commit comments