theosanderson / taxonium

A tool for exploring very large trees in the browser
http://taxonium.org
GNU General Public License v3.0
95 stars 17 forks source link

Changing the default branch color and internal node visualization by setting configDict #594

Open UTNK opened 1 month ago

UTNK commented 1 month ago

Hi Theo, I always thank you for your great products. Now I'm developing a web app using Taxonium Component, and I have the following specific questions.

  1. Can we change the default color of branches?
  2. Can we visualize the internal nodes by default?

I know these two are possible by clicking the setting panel, but I would like to know if we can edit the default by setting configDict.

theosanderson commented 3 weeks ago

Sorry for the late reply. Unfortunately these two features are not possible right now. Are they important for your application? I agree they would be good. I can't offer an exact timetable right now, but will definitely intend to implement them.

UTNK commented 3 weeks ago

Thanks, Theo. Yes, it would be useful if users could edit the default settings, especially when displaying ancestral states on phylogenies. For example, I would like to set the branch color as a lighter shade of gray than the default when showing multiple colors of internal nodes on a phylogeny. No rush, and I'm looking forward to the future updates!