aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-10 23:41:20 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-10 23:41:20 +1000
commita8f80a02b88055cfcb45664ce3a3d24c2b2da98c (patch)
tree021072aa131b2e141978e0223f6e37dfcb1cf1cd /src/tol.ts
parentf0df00add356c0ee4cc8743a9ceeb276ae207715 (diff)
Update project-level and client-side documentation
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tol.ts b/src/tol.ts
index bf7a2f5..2618bfc 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -1,5 +1,5 @@
/*
- * Used to represent tree-of-life data
+ * Types for representing tree-of-life data
*/
// Represents a tree-of-life node
@@ -8,10 +8,10 @@ export class TolNode {
children: string[];
parent: string | null;
tips: number;
- pSupport: boolean;
+ pSupport: boolean; // Indicates phylogenetic support
commonName: null | string;
imgName: null | string |
- [string, string] | [null, string] | [string, null]; // Pairs represent compound-images
+ [string, string] | [null, string] | [string, null]; // Pairs represent compound images
constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){
this.otolId = null;
this.children = children;