Added feature to collect data for use with fancytree