jit icon indicating copy to clipboard operation
jit copied to clipboard

TreeMap: Weirdness when using Loader.getJson() on second level or above of existing graph

Open aendra-rininsland opened this issue 13 years ago • 0 comments

Loading a second graph via getJson(); while zoomed in to a level greater than root causes the layout to break. Calling out(); multiple times before the getJson(); call seems to prevent this from happening.

Example code:

  util.addEvent(vc, 'change', function() {
    if(!vc.checked) return;
    tm.loadJSON(json2);     
    tm.refresh();    
  });

No error is reported to console.

(Note: I was also getting some weird errors in console with cushion: 'useGradients' and animate: 'animate', but I can't seem to reproduce them now.)

aendra-rininsland avatar Jul 29 '12 11:07 aendra-rininsland