Skip to content

Interface: GraphNodeData ​

The node container: one entry per node in every array that is present.

Properties ​

PropertyTypeDescription
color?(string | null)[]-
customdata?unknown[]The node's remaining attributes in the source, as they were.
group?(string | number | null)[]Group of each node (a community, a package, a DOT cluster); null for none.
labelstring[]-
value?number[]A number per node (the source's value, size or weight). NaN where it has none.
x?number[]Positions, when the source had them. NaN where a node has none.
y?number[]-

Released under the MIT License.