How to init state of PanelExpanderButton?

Hi,

I’m trying make button PanelExpanderButton in node following by UML Class Nodes.

The issue here is: the button always start with expand state, Is possible to init collapse state when init diagram?

Sure, just make invisible the GraphObject whose visibility will be toggled, by setting visible: false on it.

1 Like

Thank you very much.