What is the preferred way to convert a weighted adjacency matrix into a graphNEL object? I typically try to use
as(adj, "graphNEL")
but this tends to fail on edge cases. For example, it does not allow negative edge weights (not sure why this is a problem). Also, since edgemode cannot be directly set (I think?), I cannot specify if it is directed or undirected. Both of these issues can be hacked around in various ways, but I am curious what the maintainers / developers intend for this.
Long story short, what is the intended method to take a weighted adjacency matrix and coerce it to a graphNEL object?
Thanks!
Wolfgang,
Thanks for the detailed response -- this is enormously helpful for my purposes. I was not aware that `graph` was not under active development, which is good to know.
Best,
-Bryon