@@ -48,7 +48,6 @@ export class DrawIOWidget extends Widget {
4848 super ( ) ;
4949 this . _context = context ;
5050 this . _context . ready . then ( value => {
51- console . debug ( 'DrawIOWidget context ready' ) ;
5251 Private . ensureMx ( ) . then ( mx => {
5352 this . _loadDrawIO ( mx ) ;
5453 this . _context . model . sharedModelChanged . connect ( this . _onContentChanged ) ;
@@ -368,7 +367,6 @@ export class DrawIOWidget extends Widget {
368367
369368 private _onReady ( ) : void {
370369 this . _context . model . mutex ( ( ) => {
371- console . debug ( '_onReady' ) ;
372370 const data = this . _context . model . toString ( ) ;
373371 const xml = this . _mx . mxUtils . parseXml ( data ) ;
374372 this . _editor . editor . setGraphXml ( xml . documentElement ) ;
@@ -381,14 +379,12 @@ export class DrawIOWidget extends Widget {
381379 sender : DrawIODocumentModel ,
382380 changes : IDrawIOChange
383381 ) : void => {
384- console . debug ( '_onContentChanged' ) ;
385382 if ( this . _editor === undefined ) {
386383 return ;
387384 }
388385
389386 if ( changes . cellChange ) {
390387 this . _context . model . mutex ( ( ) => {
391- console . debug ( 'Changing graph' ) ;
392388 const root = new this . _mx . mxCell ( ) ;
393389 root . insert ( new this . _mx . mxCell ( ) ) ;
394390 this . _editor . editor . graph . model . setRoot ( root ) ;
@@ -412,13 +408,11 @@ export class DrawIOWidget extends Widget {
412408 } ;
413409
414410 private _onDrawIOModelChanged = ( sender : any , evt : any ) => {
415- console . debug ( '_onDrawIOModelChanged' ) ;
416411 const changes = evt . getProperty ( 'edit' ) . changes ;
417412 const encoder = new this . _mx . mxCodec ( ) ;
418413
419414 this . _context . model . mutex ( ( ) => {
420415 this . _context . model . transact ( ( ) => {
421- console . debug ( 'Updating model' ) ;
422416 for ( let i = 0 ; i < changes . length ; i ++ ) {
423417 const change = changes [ i ] ;
424418
0 commit comments