I applied igraph to visualizing a network on a discussion forum.
rt_net <- tbl_graph(nodes = nodes, edges = edges, directed = TRUE)
Error in (function (edges, n = max(edges), directed = TRUE) :
At type_indexededgelist.c:117 : cannot create empty graph with negative number of vertices, Invalid value
When I checked back the matric of edgelist, there is no negative numbers. I also fill in missing value with 0