Commit 131b8a58 authored by Remi  PLANEL's avatar Remi PLANEL

Add type Raw and Phylotree

parent 5dd5bff5
import { ScaleLinear } from "d3-scale";
import { HierarchyNode } from "d3";
export type Strand = "+" | "-";
export interface GeneData {
......@@ -70,3 +71,17 @@ export interface GenomeBrowserData {
dragended: (elem: SVGElement) => void
}
}
// Phyotree
export interface RawPhyloTreeNode {
name: string,
branchLength: number,
children?: RawPhyloTreeNode[],
lengthFromRoot?: number
}
export interface PhyloTreeNode extends RawPhyloTreeNode {
lengthFromRoot: number
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment