Different layout for group collapse / expand


I want to represent Group looking more like a Node when its collapsed and when user click to expand it should look like a collection.

Can you please share some examples/samples around it?

That depends on how you have defined your (expanded) group template. Sometimes it works out that a collapsed group will just look like a regular node. Other times, if you want the appearance (and behavior?) to be quite different from an empty expanded group, you can use a second group template – one when expanded and one when collapsed.