Closed niemasd closed 10 months ago
I think in theory you could use the Window: postMessage()
API to communicate across browser windows that don't share a domain.
Thanks for this:
But.. for your use case maybe the best thing would be the Taxonium React Component There's a lot of cleanup I could do to that, I don't think it really needs any of the dependencies it asks for, so if they're what are holding you back let me know.
Awesome, thank you! I'll share the Taxonium React Component with my student!
Great - I think they would be one the first users so tell them to be vocal about raising any issues they encounter if they decide to try it out.
Will do!
Wow, that was fast! Thank you!!
I've been using Taxonium for all of my tree visualization needs (great work!), and I was wondering if it would be feasible to have some way to load a tree from a Newick string (e.g. textbox input and/or some other mechanism). My use case is that I have a student building a web app that, as part of it, runs FastTree (in the browser) to infer a phylogeny:
https://niema-lab.github.io/ViralWasm-Epi
And I was hoping to have some clean way of creating a simple "Visualize in Taxonium" button where I send the Newick tree data to Taxonium to have it autoload (similar to what you currently support for other things via URL arguments). The tool runs client-side in the web browser, so there isn't a globally public URL that can be sent to Taxonium (at least that I'm aware of, since it's a file in a client-side virtual filesystem)
So I guess this is more of a two-part question/request: