Lively Kernel canvas
10010-1nullnull
10010-1nullnull
WorldMorphasHyperTree30true
Wikicontroltruetrue
varlabelType='Native',useGradients=true,nativeTextSupport=true,animate=true;$morph('jitXeno').removeHTMLContent();$morph('jitXeno').setupHTMLContent();$morph('jitXeno').setFill(Color.black)//DatatraverseMorph=function(morph){return{"id":'nodegraph'+morph.id(),"name":morph.constructor.name,"children":morph.submorphs.collect(function(ea){returntraverseMorph(ea)})}}json=traverseMorph(WorldMorph.current())varinfovis=document.getElementById('infovis');varw=infovis.offsetWidth-50,h=infovis.offsetHeight-50;//initHypertreevarht=new$jit.Hypertree({//idofthevisualizationcontainerinjectInto:'infovis',//canvaswidthandheightwidth:w,height:h,//Changenodeandedgestylessuchas//color,widthanddimensions.Node:{dim:9,color:"#f00"},Edge:{lineWidth:2,color:"#088"},onBeforeCompute:function(node){Log.write("centering");},//Attacheventhandlersandaddtexttothe//labels.Thismethodisonlytriggeredonlabel//creationonCreateLabel:function(domElement,node){domElement.innerHTML=node.name;$jit.util.addEvent(domElement,'click',function(){ht.onClick(node.id);});},onPlaceLabel:function(domElement,node){varstyle=domElement.style;style.display='';style.cursor='pointer';if(node._depth<=1){style.fontSize="0.8em";style.color="#ddd";}elseif(node._depth==2){style.fontSize="0.7em";style.color="#555";}else{style.display='none';}varleft=parseInt(style.left);varw=domElement.offsetWidth;style.left=(left-w/2)+'px';}});//loadJSONdata.ht.loadJSON(json);//computepositionsandplot.ht.refresh();//endht.controller.onAfterCompute();69truetruefalsefalsetruetruefalse
false00.11truefalsetruetruefalse
nullfalsetruenullfalse
Workspacefalsenulltruefalse
false
false
falsenullfalsefalsenullnullnullnullfalse
null23