ugurdogrusoz / visuall

Visuall: A tool for convenient construction of a web based visual analysis component
2 stars 0 forks source link

Expanding/collapsing a compound causes 2 layouts when the timebar is enabled #385

Closed canbax closed 3 years ago

canbax commented 3 years ago

When the timebar is enabled, if we expand or collapse a compound node we observe that 2 layouts are running.

Here this._g.expandCollapseApi.setOption('layoutBy' we set option to run a layout after we expand or collapse a compound node. We also call layout with this._g.performLayout inside timebar.service.ts. So at the end, we make 2 incremental layouts following each other. Running layout once is enough.