Though unwieldy for large matrices, a full adjacency matrix can be useful for debugging and export.
If the graph is “undirected” then recicprocal edges are explicit in the matrix.
Thus far only implemented for
adjacencyMatrix returns an n x n matrix, where n is
the number of nodes in the graph, ordered in the same manner as
seen in the
nodes method. All cells in the matrix are
except where edges are found.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.