replaceVertexList        package:dynamicGraph        R Documentation

_R_e_p_l_a_c_e _t_h_e _v_e_r_t_e_x _l_i_s_t _o_f _m_o_d_e_l _f_r_a_m_e

_D_e_s_c_r_i_p_t_i_o_n:

     Replace the vertex list of model frame

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

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. 

_N_o_t_e:

     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.

_A_u_t_h_o_r(_s):

     Jens Henrik Badsberg

_E_x_a_m_p_l_e_s:

