File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,10 @@ class Graph extends React.Component {
285
285
let components = this . graph0 . selectAll ( '.node,.edge' ) ;
286
286
this . selectComponents ( components ) ;
287
287
}
288
+ else if ( event . key === 'A' ) {
289
+ let components = this . graph0 . selectAll ( '.edge' ) ;
290
+ this . selectComponents ( components ) ;
291
+ }
288
292
else if ( event . key === '?' ) {
289
293
this . props . onHelp ( ) ;
290
294
}
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import CloseIcon from '@material-ui/icons/Close';
15
15
16
16
const keyboardShortcuts = [
17
17
{ key : 'Ctrl-A' , description : 'Select all nodes and edges.' } ,
18
+ { key : 'Ctrl-Shift-A' , description : 'Select all edges.' } ,
18
19
{ key : 'Ctrl-C' , description : 'Copy the selected node.' } ,
19
20
{ key : 'Ctrl-V' , description : 'Paste the cut/copied node.' } ,
20
21
{ key : 'Ctrl-X' , description : 'Cut the selected node.' } ,
You can’t perform that action at this time.
0 commit comments