WebCola
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
apply
Packing
separate
Graphs
packing
Options
Index
Functions
apply
Packing
separate
Graphs
Object literals
packing
Options
Functions
apply
Packing
apply
Packing
(
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
separate
Graphs
separate
Graphs
(
nodes
:
any
, links
:
any
)
:
any
[]
connected components of graph returns an array of {}
Parameters
nodes:
any
links:
any
Returns
any
[]
Object literals
packing
Options
packing
Options
:
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
Generated using
TypeDoc
connected components of graph returns an array of {}