I'm trying print out the connecting path of two non-adjacent nodes in a network graph. For instance, I have A connecting to B connecting to C, and A and C are not connected; between each connections is a label for the edge. I want a printout of point A to point C: A (edge label) B (edge label) C. I am trying to do this in R. Thanks!
Asked
Active
Viewed 56 times
0
-
It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. I assume you are using `igraph`? – MrFlick Oct 18 '19 at 19:53
-
use igraph packgage – Onyambu Oct 18 '19 at 19:54
-
I like the `DiagrammeR` package. – Trent Oct 18 '19 at 20:02
-
You mean you want a text summary of the network graph? – Joe Oct 18 '19 at 21:30