|
From: | Gábor Csárdi |
Subject: | Re: [igraph] DFS path for diplaying on plot |
Date: | Wed, 14 May 2014 20:11:44 -0400 |
Hi all, new to iGraph, but loving it so far. Thanks to all who have helped contribute.So I want to use the dfs function to provide me a path that I can then pass back to the graph for displaying edges in a plot.It is easy enough to do with shortest path, since all ordered vertices conntect, example: http://horicky.blogspot.com/2012/04/basic-graph-analytics-using-igraph.htmlBut the output of the DFS gives an order that I can't use with E(graph, path=dfsPath) because it doesn't include backtracking nodes.I thought maybe I could use father list somehow to specify edges instead of a path.I'm new to R and iGraph, so I'm very much still learning. Thanks!
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |