Closed philibe closed 6 years ago
It is about collapsibleTreeNetwork (in Shiny).
Hmm I never considered a 1 node tree, I can look into adding a special case for that. Good catch
Fixed in the github version, let me know if that works for you. Will push to CRAN in the next few weeks.
Tested quickly in my app : it works :) Thanks :)
Sometimes I have tree with only one root without children. I would like display the unique node without the errors "This is not a Tree".
My workaround is to build a 2nd node with parent id, the id of root, and its id "nothing", when there is only one root line in the tree.