Get line form matrix grasshopper

hello guys i am new to grasshopper,
There are 6 arbitrary points with an adjacency matrix, where if the value is 1, then the two points are connected. How do i do it in grasshopper

Until some other Samaritan provides a native comp based solution get the attached.
AdjMatrix_to_Graph_EntryLevel_V1.gh (123.5 KB)

you have the adjacency matrix and want to generate the graph, or the other way around?

Hello, Mr. Truong


Adjacency Matrix.gh (30.7 KB)

This is given the points and adjacency matrix.



Adjacency Matrix_vr2.gh (33.3 KB)

This will only produce single lines. (Cross Reference is set to “Upper Triangle”)

2 Likes

Inno, you can do the other way around. :smile:

1 Like

This is what I got:


Adjacency Matrix_vr3.gh (43.8 KB)

1 Like