lowe-lab-ucl / arboretum

Track and lineage visualization with btrack and Napari :evergreen_tree:
MIT License
45 stars 11 forks source link

Save Tree feature and Nodes labeling #81

Closed Ciro1990 closed 1 year ago

Ciro1990 commented 2 years ago

Dear all,

First of all, thanks for developing Arboretum. I was wondering if it was possible to add a feature to save the lineage tree visualized.

Additionally, it would be nice if on the nodes, we could have a small circle with the ID inside, instead of having the ID numbers on the branches.

Thanks! Ciro

quantumjot commented 2 years ago

Hi Ciro - this is a great idea, thanks!

For saving the lineage tree - would it be OK just to save the visualisation itself, kind of like a screenshot, or did you have something else in mind? I know @KristinaUlicna was interested in this feature too.

Ciro1990 commented 2 years ago

Hi there! Ideally, saving in .svg would be the best option. In this way the trees would have a good quality and the file format would offer the possibility to modify it elsewhere I have tried to save it in .png, but the resolution was too low.

quantumjot commented 1 year ago

@Ciro1990 - this PR (#95) should enable basic export to SVG.