tchatel / angular-treeRepeat

Recursive repeater for AngularJS
Do What The F*ck You Want To Public License
115 stars 16 forks source link

Is there a way to reorder siblings? #12

Open npearson72 opened 10 years ago

npearson72 commented 10 years ago

In the demo, I can move nodes to different parents, but I can't reorder siblings.

couzic commented 10 years ago

I also had this problem, I made a few changes to the angular-treeRepeat directives to achieve the behavior you can check here (on the "Board" -> lower center of the screen) : http://redwire.io/#/game/3154c646c1a3796f/edit

Unfortunately, I never got the time to make a pull request. You can still check out my code here : https://github.com/CyberCRI/RedWire/blob/master/client/src/app/util/treeRepeat.js