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
updatePointShape()
updatePointShape():
void
Updates the point shapes based on the input data or default shape. Default behavior: Circle (0). Images are rendered above shapes.
Returns
void
updatePointImageIndices()
updatePointImageIndices():
void
Updates the point image indices based on the input data or default value (-1 for no image).
Returns
void
updatePointImageSizes()
updatePointImageSizes():
void
Updates the point image sizes based on the input data or default to point sizes.
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[]