Skip to content

Type Alias: GraphMatrix ​

ts
type GraphMatrix = readonly ArrayLike<number>[];

Experimental

A square matrix: matrix[i][j] is the weight of the link from node i to node j. Its nodes have no table: node options are arrays with one value per row (label: ['A', 'B', 'C']), or columns of a nodes table whose rows are in the order of the matrix.

Released under the MIT License.