Learn R Programming

dynamicGraph (version 0.1.6.6)

addGraph: Add graph to existing dynamic graph window

Description

Add graph to existing dynamic graph window

Usage

addGraph(linkDynamicGraph, from = NULL, to = NULL, edge.list = NULL, 
         Object = NULL, slave = FALSE, 
         oriented = FALSE, edgeColor = "black", 
         factorVertexColor = "default", factorEdgeColor = "brown", 
         blockEdgeColor = "default", title = "Add", 
         returnLink = FALSE, ...)

Arguments

linkDynamicGraph
A "reference" to an active dynamic graph window, returned from dynamicGraphMain, DynamicGraph,
from
If not edge.list is given: The indices of the first endpoints of the edges.
to
If not edge.list is given: The indices of the second endpoints of the edges.
edge.list
If not from and to are given: A list where each item specifies an edge by a vector of the indices or names of the vertices.
Object
~~Describe Object here~~
slave
~~Describe slave here~~
oriented
Logical. If oriented is set to TRUE then the edges are oriented, also when no block structure is given.
edgeColor
Single text string with the edgeColor of the edges.
factorVertexColor
Single text string with the factorVertexColor of the factor vertices. If factorVertexColor is "default" then the color of a factor vertex will depend on the type of the generator of the factor.
factorEdgeColor
Single text string with the factorEdgeColor of the factor edges.
blockEdgeColor
"default", or list with two text strings for colors. The two colors are used for respectively edges between blocks and for edges between blocks and vertices.
title
Text string with the title set on the graph window.
returnLink
Logical, if returnReference is TRUE then a reference to the dynamic graph is returned, else an object with the graph lattice is returned.
...
Additional arguments to dynamicGraphMain.

See Also

See also DynamicGraph and all the other functions of this package.