\name{mergeOutEdges} \alias{mergeOutEdges} \alias{mergeOutEdges,RedPort-method} \title{Merge out-edges between connected containers and transfers edges from nodes to containers. } \description{ Method to assign out-edges to containers in an active RedeR session. This method transfers edges from nodes to the respective containers. } \usage{ mergeOutEdges(obj,...) } \arguments{ \item{obj}{Object of RedPort Class. } \item{...}{ Additional arguments passed to RedeR application. } } \details{ Additional arguments: \describe{ \item{rescale}{Logical value. Whether to rescale the out-edge width to fit container size limits; if false, it will run a simple sum (default=TRUE). } \item{lb}{Custom lower bound to rescale edge width (default=NULL) . } \item{ub}{Custom upper bound to rescale edge width between containers (default=NULL) . } \item{nlev}{Number of levels to be merged in the hierarchy (default=1) . } } } \value{ Add/change edge assigments. } \author{Mauro Castro} \note{ Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld'). } \seealso{ \code{\link[RedeR:RedPort]{RedPort}} } \examples{ rdp <- RedPort('MyPort') el<-matrix(c("n1","n2","n1","n3","n1","n4","n2","n5","n2","n6","n2","n7"), ncol=2, byrow=TRUE) g <- graph.edgelist(el) \dontrun{ calld(rdp) addGraph( rdp, g, layout.kamada.kawai(g) ) nestNodes( rdp, c("n1","n2") ) mergeOutEdges(rdp) updateGraph(rdp) } } \keyword{graph}