Dynamic generate layout settings. Add settings for Tree Layout