updateGraph {RedeR} | R Documentation |
This function updates an active RedeR application session.
updateGraph(obj, g=NULL)
obj |
Object of RedPort Class. |
g |
An optional igraph object. If provided, 'g' will be updated with the graph
layout displayed in the RedeR interface. Note: 'g' must be the same
igraph object sent to the RedeR interface by the
|
An update igraph object.
Prior calling this method make sure that there is an active RedeR session.
Mauro Castro
# Initialize igraph library(igraph) edges<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7") ## Not run: rdp <- RedPort() calld(rdp) addEdges(rdp, edges) updateGraph(rdp) ## End(Not run)