I have an adjacency matrix like
[0 1]
[1 0]
it will draw a line with two nodes but as the matrix gets bigger and bigger there will be many combinations like
[0 1 1] [0 1 0]
[1 0 0] or [1 0 1]
[1 0 0] [0 1 0]
How to read such a matrix and use it to create turtles and links for the graph described by the matrix?
source
share