@@ -53,11 +53,11 @@ const Main = (function() {
5353 rm . resizeRow ( e . detail . object . idx , e . detail . y ) ;
5454 } ) ;
5555
56- svg . on ( 'label-updated' , function ( e ) {
57- // TODO: so so incomplete
58- let color = tm . getColor ( e . detail . label , e . detail . object ) ;
59- e . detail . object . node . style . fill = color ;
60- } ) ;
56+ // svg.on('label-updated', function(e) {
57+ // // TODO: so so incomplete
58+ // let color = tm.getColor(e.detail.label, e.detail.object);
59+ // e.detail.object.node.style.fill = color;
60+ // });
6161
6262 svg . on ( 'word-move-start' , function ( ) {
6363 if ( ! options . showLinksOnMove && options . showSyntax ) {
@@ -77,10 +77,10 @@ const Main = (function() {
7777 }
7878 } ) ;
7979
80- svg . on ( 'tag-remove' , function ( e ) {
81- e . detail . object . remove ( ) ;
82- tm . remove ( e . detail . object ) ;
83- } ) ;
80+ // svg.on('tag-remove', function(e) {
81+ // e.detail.object.remove();
82+ // tm.remove(e.detail.object);
83+ // });
8484
8585 svg . on ( 'row-recalculate-slots' , function ( e ) {
8686 links . forEach ( link => {
@@ -353,9 +353,6 @@ const Main = (function() {
353353 draw ( ) ;
354354
355355 tm . draw ( taxonomy , words ) ;
356- // tm.buildTree(taxonomy);
357- // tm.buildTagTypes(words);
358- // tm.populateTaxonomy();
359356 } ) ;
360357 } )
361358 . catch ( err => {
0 commit comments