Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Object literals

Functions

applyPacking

  • applyPacking(graphs: Array<any>, w: any, h: any, node_size: any, desired_ratio?: number, centerGraph?: boolean): void
  • Parameters

    • graphs: Array<any>
    • w: any
    • h: any
    • node_size: any
    • Default value desired_ratio: number = 1
    • Default value centerGraph: boolean = true

    Returns void

separateGraphs

  • separateGraphs(nodes: any, links: any): any[]
  • connected components of graph returns an array of {}

    Parameters

    • nodes: any
    • links: any

    Returns any[]

Object literals

packingOptions

packingOptions: object

FLOAT_EPSILON

FLOAT_EPSILON: number = 0.0001

GOLDEN_SECTION

GOLDEN_SECTION: number = (1 + Math.sqrt(5)) / 2

MAX_INERATIONS

MAX_INERATIONS: number = 100

PADDING

PADDING: number = 10

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