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.
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 withthis._g.performLayout
insidetimebar.service.ts
. So at the end, we make 2 incremental layouts following each other. Running layout once is enough.