[Rd] drawing the graph with many nodes

MSousa ricardosousa2000 at clix.pt
Tue Mar 27 11:14:49 CEST 2012

Good morning, 

I'm trying to draw a graph, and I'm using the following code.

test.matrix<-read.table("~/Desktop/Results/testgephi.csv", header = T,
colnames(test.matrix) <- gsub("X", "", colnames(test.matrix)) 
#drop first column
drops <- c("")
test.matrix<-test.matrix[,!(names(test.matrix) %in% drops)]
am.graph<-new("graphAM", adjMat=test.matrix, edgemode="directed")
plot(am.graph, attrs = list(node = list(fillcolor = "lightblue"),edge =

The file testgephi.csv is following.

  In the example graph of the drawing works well, the problem is when I'm
trying to draw the graph from a file wih A graphAM graph with directed edges
Number of Nodes = 217 
Number of Edges = 32804 

is there any package or tool that can draw a structure like this


View this message in context: http://r.789695.n4.nabble.com/drawing-the-graph-with-many-nodes-tp4508319p4508319.html
Sent from the R devel mailing list archive at Nabble.com.

More information about the R-devel mailing list