Refactor TreevisualiserDAT to new data structure