@@ -336,7 +336,7 @@ let MapSetting = function () {
336336 } ;
337337
338338 function handleData ( ) {
339- console . log ( scheme . data )
339+ // console.log(scheme.data)
340340 jobsObj = { } ;
341341 computersObj = { } ;
342342 usersObj = { } ;
@@ -416,7 +416,7 @@ let MapSetting = function () {
416416 tableData [ d . key ] . id = d . key ;
417417 d . order = i
418418 } )
419- console . log ( _computers , jobsObj , computersObj , usersObj , linkob , tableData , users , jobs , computers , linkdata )
419+ // console.log(_computers,jobsObj,computersObj,usersObj,linkob,tableData,users,jobs,computers,linkdata)
420420 }
421421
422422 function handleCollapseJobs ( u ) {
@@ -499,7 +499,7 @@ let MapSetting = function () {
499499
500500 } ) ;
501501 } ) ;
502- console . log ( 'compute_tsnedata' , compute_tsnedata )
502+ // console.log('compute_tsnedata',compute_tsnedata)
503503 let summary = serviceFullList . map ( ( s , si ) => {
504504 let min = Infinity ;
505505 let max = - Infinity ;
@@ -574,7 +574,9 @@ let MapSetting = function () {
574574 // add link to job
575575 jobsObj [ jobKey ] . _node_list = jobsObj [ jobKey ] . node_list . slice ( ) ;
576576 jobsObj [ jobKey ] . node_list = [ compKey ] ;
577+ jobsObj [ jobKey ] . job_ids = job_ids ;
577578 jobsObj [ jobKey ] . links [ compKey ] = compKey + '|' + jobKey ;
579+ // console.log('collapse job', u.key, jobsObj[jobKey], computersObj[compKey], linkob[compKey + '|' + jobKey]);
578580 }
579581 jobs = d3 . values ( jobsObj ) ;
580582 computers = d3 . values ( computersObj ) ;
@@ -605,6 +607,7 @@ let MapSetting = function () {
605607 g . select ( '.job_title' ) . classed ( 'hide' , true ) ;
606608 }
607609 let jobNode = nodeg . selectAll ( '.jobNode' ) . data ( jobs , function ( d ) {
610+ // console.log('jobNode', d)
608611 return d . key
609612 } ) ;
610613 jobNode . exit ( ) . remove ( ) ;
@@ -643,8 +646,8 @@ let MapSetting = function () {
643646 }
644647 } ) ;
645648 jobNode . select ( '.lelftext' ) . text ( d => `#Computes: ${ d . node_list . length } ` )
646- jobNode . select ( '.righttext' ) . text ( d => d . values ? `#Jobs : ${ d . values . length } ` : '' )
647-
649+ jobNode . select ( '.righttext' ) . text ( d => d . key ? `Job ID : ${ d . key } ` : '' )
650+ // console.log('jobNode', jobNode)
648651 jobNode . selectAll ( 'path' ) . style ( 'stroke' , 'black' ) . style ( 'stroke-width' , d => d . values ? Jobscale ( d . values . length ) : 1.5 ) ;
649652 return jobNode ;
650653 }
@@ -1546,7 +1549,7 @@ let MapSetting = function () {
15461549 }
15471550 } ) ;
15481551 alldataPoint . sort ( ( a , b ) => Math . abs ( b . value ) - Math . abs ( a . value ) ) ;
1549- console . log ( alldataPoint )
1552+ // console.log(alldataPoint)
15501553 for ( let i = 0 ; i < 10 ; i ++ ) {
15511554 const step = alldataPoint [ i ] . timestep ;
15521555 computersObj [ alldataPoint [ i ] . name ] . highlightData . notEmpty = true ;
0 commit comments