Commit 4e7fc1c4 authored by Remi  PLANEL's avatar Remi PLANEL

Add labelWidth and width in Phylotree type def

parent 57d104f7
......@@ -79,7 +79,7 @@ export interface RawPhyloTreeNode {
name: string,
branchLength: number,
children?: RawPhyloTreeNode[],
lengthFromRoot?: number,
// lengthFromRoot?: number,
nodes?: {
r?: number,
fill?: string,
......@@ -90,5 +90,7 @@ export interface RawPhyloTreeNode {
export interface PhyloTreeNode extends RawPhyloTreeNode {
lengthFromRoot: number
// leftForNode: number,
labelWidth: number,
width: 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