Computes axis locations of each node. This function can be helpful when you want to separately plot the node labels using the function mtext.
node_coords(edgelist, sorted = FALSE, decreasing = FALSE, ordering = NULL,
labels = NULL)basically a two-column matrix with edges
logical to indicate if nodes should be sorted
logical to indicate type of sorting
optional numeric vector providing the ordering of nodes
character vector with labels for the nodes
a vector with the location of nodes in the x-axis