Class: GraphData
Constructors
Constructor
new GraphData(
config):GraphData
Parameters
| Parameter | Type | 
|---|---|
config | GraphConfig | 
Returns
GraphData
Properties
Accessors
pointsNumber
Get Signature
get pointsNumber():
undefined|number
Returns
undefined | number
linksNumber
Get Signature
get linksNumber():
undefined|number
Returns
undefined | number
Methods
updatePoints()
updatePoints():
void
Returns
void
updatePointColor()
updatePointColor():
void
Updates the point colors based on the input data or default config value.
Returns
void
updatePointSize()
updatePointSize():
void
Updates the point sizes based on the input data or default config value.
Returns
void
updateLinks()
updateLinks():
void
Returns
void
updateLinkColor()
updateLinkColor():
void
Updates the link colors based on the input data or default config value.
Returns
void
updateLinkWidth()
updateLinkWidth():
void
Updates the link width based on the input data or default config value.
Returns
void
updateArrows()
updateArrows():
void
Updates the link arrows based on the input data or default config value.
Returns
void
updateLinkStrength()
updateLinkStrength():
void
Returns
void
updateClusters()
updateClusters():
void
Returns
void
update()
update():
void
Returns
void
getAdjacentIndices()
getAdjacentIndices(
index):undefined|number[]
Parameters
| Parameter | Type | 
|---|---|
index | number | 
Returns
undefined | number[]