1
votes

I have a network (a graph), called netW, that I plot using Fruchterman-Reingold layout algorithm:

plot(netW, layout=layout_with_fr(netBanco, dim=3))

Now, I need to know the coordinates (3D) of every node in that plot. Is that possible?

Thank you!

1
Can you make a small reproducible example? Including whatever packages you are using?Gregor Thomas

1 Answers

3
votes

You actually created that when you created the layout. Try this:

library(igraph)
LO = layout_with_fr(netBanco, dim=3)
plot(netW, layout=LO)
LO