|
From: | Ragia Ibrahim |
Subject: | [igraph] plot shortest paths in one graph |
Date: | Thu, 30 Jan 2014 13:49:15 +0200 |
Dear members,
I got a graph data<-(c(0,1, 0,8, 0,9, 0,2, 1,3, 2,3, 4,5, 5,1, 6,2, 7,6)) g1 <- graph( data+1 , directed=TRUE ) and i got all shortest paths paths<-get.all.shortest.paths( g1, 1, 4 ) the paths contain: [[1]] [1] 1 3 4 [[2]] [1] 1 2 4 |
[Prev in Thread] | Current Thread | [Next in Thread] |