2015-03-02 14 views

回答

0

這是我的答案。建議歡迎。

GR是正式類GRAPHNEL的目的

gx <- layoutGraph(gR) #can also add node attributes, sublists here 
x <- [email protected]@nodes$nodeX 
y <- [email protected]@nodes$nodeY 
#x and y are named vectors with node names and x/y coordinates 
#to get the names of the nodes on the top rank: 
topNodes1 <- names(y[y==max(y)]) 
相關問題