Go.js can not trigger this event function

I can’t find a error subGraphExpandedChanged: function(group) { if (group.isSubGraphExpanded) { console.log(group.isSubGraphExpanded); } else { console.log(group.isSubGraphExpanded); } }
above codes can not console.log(group)

There are several examples of using the Group.subGraphExpandedChanged event handler – just search the samples.

Could you please be more specific about what the situation is and how it doesn’t meet your needs?

Are you using go-debug.js and checking the console window for any warnings or error messages?