treant-js icon indicating copy to clipboard operation
treant-js copied to clipboard

Lazy rendering for large trees

Open pedroteixeira opened this issue 8 years ago • 0 comments

Hello, thanks for the library!

Is there any way to avoid having all nodes being emitted to the DOM even when they are collapsed? I'd like to try some easy strategy to minize CPU/browser time (such as only creating nodes when they are expanded).

Not related to my question here, but for some reason, to avoid invalid path errors I'm using a workarond in setConnectionToParent:

if(hidePoint && isNaN(hidePoint.x)) {
return;
}

thanks!

pedroteixeira avatar Feb 02 '17 20:02 pedroteixeira