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

Type parameters

Hierarchy

  • Force

Index

Methods

alpha

  • alpha(): number
  • alpha(value: number): Force<Link, Node>

charge

  • charge(): number | function
  • charge(charge: number): Force<Link, Node>
  • charge(charge: function): Force<Link, Node>

chargeDistance

  • chargeDistance(): number
  • chargeDistance(distance: number): Force<Link, Node>

drag

friction

  • friction(): number
  • friction(friction: number): Force<Link, Node>

gravity

  • gravity(): number
  • gravity(gravity: number): Force<Link, Node>

linkDistance

  • linkDistance(): number | function
  • linkDistance(distance: number): Force<Link, Node>
  • linkDistance(distance: function): Force<Link, Node>

linkStrength

  • linkStrength(): number | function
  • linkStrength(strength: number): Force<Link, Node>
  • linkStrength(strength: function): Force<Link, Node>

links

  • links(): Link[]
  • links(links: object[]): Force<Link, Node>
  • links(links: Link[]): Force<Link, Node>

nodes

  • nodes(): Node[]
  • nodes(nodes: Node[]): Force<Link, Node>

on

  • on(type: string): function
  • on(type: string, listener: function): Force<Link, Node>

resume

  • resume(): Force<Link, Node>

size

  • size(): [number, number]
  • size(size: [number, number]): Force<Link, Node>

start

  • start(): Force<Link, Node>

stop

  • stop(): Force<Link, Node>

theta

  • theta(): number
  • theta(theta: number): Force<Link, Node>

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