replaceVertexList {dynamicGraph}R Documentation

Replace the vertex list of model frame

Description

Replace the vertex list of model frame

Usage

replaceVertexList(vertexList, frameModels = NULL, 
                  frameViews = frameModels@models[[modelIndex]], 
                  modelIndex = 1, 
                  graphWindow = frameViews@graphs[[viewIndex]], 
                  viewIndex = 1, ...)

Arguments

vertexList Object of class "dg.VertexList": vertexList is the new vertex list.
frameModels The vertex list is replaced in frameModels, and frameModels is redrawn in graphWindow.
frameViews The frameViews to redraw.
modelIndex The modelIndex of the model to redraw.
graphWindow The graphWindow to redraw.
viewIndex The viewIndex of the view to redraw.
... Optional arguments.

Note

The models is redrawn as stored in frameModels. If you by interaction with the graph window has changed the model of graphWindow, please export the frameModels from the graph window by selection "Assign 'frameModels' .." from the "Export" menu of the graph window before replacing.

Author(s)

Jens Henrik Badsberg


[Package dynamicGraph version 0.2.2.4 Index]