Skip to content

Interface: AdjacencyMatrixOptions ​

Options of fromAdjacencyMatrix.

Properties ​

PropertyModifierTypeDescription
directed?readonlybooleanWhether matrix[i][j] is a link from i to j only. Default: false when the matrix is symmetric, in which case each pair gives one link (from its upper triangle), else true.
labels?readonlyreadonly string[]Node labels, one per row. Default: the row indices.
threshold?readonlynumberEntries with an absolute value at or below this are no link. Default 0.

Released under the MIT License.