diff options
Diffstat (limited to 'src/tol.ts')
| -rw-r--r-- | src/tol.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ export type TolMap = Map<string, TolNode>; // Represents a tree-of-life node export class TolNode { + otolId: string | null; children: string[]; parent: string | null; tips: number; @@ -13,6 +14,7 @@ export class TolNode { commonName: null | string; imgName: null | string | [string, string] | [null, string] | [string, null]; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ + this.otolId = null; this.children = children; this.parent = parent; this.tips = tips; |
