I think that this would give you the adjacency matrix. In LightGraphs.jl <https://github.com/JuliaGraphs/LightGraphs.jl>, there is a method incidence_matrix that might be useful.
On Tuesday, June 14, 2016 at 8:46:08 AM UTC+2, Ford O. wrote: > > Are you sure you know what is incidence matrix? wiki > <https://en.wikipedia.org/wiki/Incidence_matrix> > > You don't need any dictionaries to implement it. Just use simple Array(). > > matrix = fill(false, row_size, col_size) > from_node = scan_input() > to_node = scan_input() > matrix[from_node, to_node] = true > >