Kajona\Navigation\Admin\NavigationAdmin::generateTreeView

Generates the code needed to render the nodes as a tree-view element.

The elements themselves are loaded via ajax, so only the root-node and the initial folding-params are generated right here.