Open Ansa211 opened 7 years ago
I think that this wish would be very useful but the implementation would be difficult and each subtree collapse request would require server response - it will be slow. It is not possible to run it on client side because collapse does not mean hide. Collapsing should reorganize tree not only hide a subtree.
As we want to possibility of not using tred on server side (https://github.com/ufal/tred-extension-pmltq/issues/4) the collapsing will not work.
I think that it will need modification of tred's tree generator.
type of query: w/o Filters
With large trees, it would be useful if there would be a shortcut (such as Ctrl-click) which would collapse the whole subtree below the node into just a node (maybe marked by a large triangle) and annotated with the text "word_1 ... word_n" where word_1/word_n is whatever word/lemma information would normally be shown beneath the first/last node in the subtree.
(reported on behalf of Martin Popel)