Size problem when set display none then block

Author: Serif-NNRCreated Dec 16, 2022Updated Dec 16, 2022

Hello guys,

If we set display none to the div containing the diagram in initialization step and after that change it as display block to be able to reveal the diagram according to some criteria, the size of the diagram doesn't suitable and it turns to very small rect areas.

As i guess, you don't recalculate the size and coordinates of the components belongs to the diagram when component is replaced or revealed. Maybe a listener mechanism can be performed for this.

Source: bramp/js-sequence-diagrams