-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7950833
commit 82a5c35
Showing
2 changed files
with
22 additions
and
59 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
src/Taxonium.jsx: This is the main entry point for the Taxonium component. It brings together all the hooks and components to render the interactive phylogenetic tree. | ||
|
||
src/Deck.jsx: This component renders the actual DeckGL canvas and handles interactions with it. It contains the layers for nodes, lines, labels, etc. | ||
|
||
src/hooks: This folder contains all the React hooks used in the project. Some of the main hooks are: | ||
|
||
- useBackend: This hook is used to interface with either a local or server backend to get data and search | ||
- useColor, useColorBy: These hooks handle the node coloring logic | ||
- useConfig: This hook is used to get configuration information (title, source, etc) | ||
- useGetDynamicData: This hook is used to get data from the backend within the current viewport | ||
- useLayers: This hook generates the DeckGL layers | ||
- useNodeDetails: This hook is used to get details for selected nodes | ||
- useSearch: This hook handles searching the tree | ||
- useView: This hook manages the view state and zooming/panning | ||
- useHoverDetails: This hook manages hovered node details | ||
|
||
src/utils: This folder contains various utility functions, including: | ||
|
||
- processNewick.js: For converting Newick/Nexus into Taxonium JSON format | ||
- processNextstrain.js: For converting Nextstrain JSON into Taxonium JSON format | ||
- searchUtil.js: Contains utility functions for searching | ||
- formatNumber.js: Used to format large numbers with commas |
82a5c35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cov2tree – ./
mpx.taxonium.org
taxonium.org
vbigtree.vercel.app
cov2tree.org
visualtreeoflife.taxonium.org
www.taxodium.org
taxodium.org
taxonomy.taxonium.org
www.cov2tree.org
www.taxonium.org
cov2tree-git-master-theosanderson.vercel.app
cov2tree-theosanderson.vercel.app