Trees - Best approach


#1

Does anyone have an elegant approach for trees in ember? I don’t want to use a jquery plugin that’s larger than jquery (jquery tree)… I just need to display a tree and be able to select one leaf.

It seems a component would be great, but I wasn’t able to find one. Maybe a component that takes a model with some standard fields (id, parent, children) and builds the tree.

I have a list of companies that have multiple locations, branches, centers… So tree seems to be the best approach. I want to be able to quickly switch between companies and locations.