I currently set the expand option to true, but your controller always overrides the value to false. Therefore, this flag does not work for expanding a tree by default, and I believe the notify node should set the expanded flag to false if the node is a leaf node (or does not have children).