WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Treemap

Callable

  • __call(root: T, index?: number): T[]

Index

Methods

children

  • children(): function
  • children(children: function): Treemap<T>

links

  • links(nodes: T[]): Link<T>[]

mode

  • mode(): string
  • mode(mode: "squarify"): Treemap<T>
  • mode(mode: "slice"): Treemap<T>
  • mode(mode: "dice"): Treemap<T>
  • mode(mode: "slice-dice"): Treemap<T>
  • mode(mode: string): Treemap<T>

nodes

  • nodes(root: T, index?: number): T[]

padding

ratio

  • ratio(): number
  • ratio(ratio: number): Treemap<T>

round

  • round(): boolean
  • round(round: boolean): Treemap<T>

size

  • size(): [number, number]
  • size(size: [number, number]): Treemap<T>

sort

  • sort(): function
  • sort(comparator: function): Treemap<T>

sticky

  • sticky(): boolean
  • sticky(sticky: boolean): boolean

value

  • value(): function
  • value(value: function): Treemap<T>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc