@@ -117,14 +117,14 @@ export class CytoscapeView extends DOMWidgetView {
117
117
this . nodeViews = new widgets . ViewList (
118
118
this . addNodeModel ,
119
119
this . removeNodeView ,
120
- this
120
+ this ,
121
121
) ;
122
122
this . nodeViews . update ( this . model . get ( 'graph' ) . get ( 'nodes' ) ) ;
123
123
124
124
this . edgeViews = new widgets . ViewList (
125
125
this . addEdgeModel ,
126
126
this . removeEdgeView ,
127
- this
127
+ this ,
128
128
) ;
129
129
this . edgeViews . update ( this . model . get ( 'graph' ) . get ( 'edges' ) ) ;
130
130
this . cytoscape_obj . endBatch ( ) ;
@@ -145,18 +145,18 @@ export class CytoscapeView extends DOMWidgetView {
145
145
this . model . on (
146
146
'change:user_zooming_enabled' ,
147
147
this . _updateUserZoomingEnabled ,
148
- this
148
+ this ,
149
149
) ;
150
150
this . model . on ( 'change:panning_enabled' , this . _updatePanningEnabled , this ) ;
151
151
this . model . on (
152
152
'change:user_panning_enabled' ,
153
153
this . _updateUserPanningEnabled ,
154
- this
154
+ this ,
155
155
) ;
156
156
this . model . on (
157
157
'change:box_selection_enabled' ,
158
158
this . _updateBoxSelectionEnabled ,
159
- this
159
+ this ,
160
160
) ;
161
161
this . model . on ( 'change:selection_type' , this . _updateSelectionType , this ) ;
162
162
this . model . on ( 'change:touch_tap_threshold' , this . value_changed , this ) ;
@@ -171,7 +171,7 @@ export class CytoscapeView extends DOMWidgetView {
171
171
this . model . on (
172
172
'change:_interaction_handlers' ,
173
173
this . listenForUserEvents ,
174
- this
174
+ this ,
175
175
) ;
176
176
177
177
const layout = this . model . get ( 'layout' ) ;
@@ -309,20 +309,20 @@ export class CytoscapeView extends DOMWidgetView {
309
309
}
310
310
private _updateUserZoomingEnabled ( ) {
311
311
this . cytoscape_obj . userZoomingEnabled (
312
- this . model . get ( 'user_zooming_enabled' )
312
+ this . model . get ( 'user_zooming_enabled' ) ,
313
313
) ;
314
314
}
315
315
private _updatePanningEnabled ( ) {
316
316
this . cytoscape_obj . panningEnabled ( this . model . get ( 'panning_enabled' ) ) ;
317
317
}
318
318
private _updateUserPanningEnabled ( ) {
319
319
this . cytoscape_obj . userPanningEnabled (
320
- this . model . get ( 'user_panning_enabled' )
320
+ this . model . get ( 'user_panning_enabled' ) ,
321
321
) ;
322
322
}
323
323
private _updateBoxSelectionEnabled ( ) {
324
324
this . cytoscape_obj . boxSelectionEnabled (
325
- this . model . get ( 'box_selection_enabled' )
325
+ this . model . get ( 'box_selection_enabled' ) ,
326
326
) ;
327
327
}
328
328
private _updateSelectionType ( ) {
@@ -357,7 +357,7 @@ export class CytoscapeView extends DOMWidgetView {
357
357
*/
358
358
_addElementListeners (
359
359
ele : cytoscape . CollectionReturnValue ,
360
- view : DOMWidgetView
360
+ view : DOMWidgetView ,
361
361
) {
362
362
ele . on ( 'select' , ( event ) => {
363
363
view . model . set ( 'selected' , true ) ;
0 commit comments