toDot-methods           package:ontoTools           R Documentation

_M_e_t_h_o_d_s _f_o_r _F_u_n_c_t_i_o_n _t_o_D_o_t _i_n _P_a_c_k_a_g_e '_o_n_t_o_T_o_o_l_s' - _s_h_o_u_l_d _b_e _r_e_p_l_a_c_e_d
_b_y _R_g_r_a_p_h_v_i_z _f_a_c_i_l_i_t_i_e_s _s_o_o_n

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

     These methods write graphviz dot language for various graph
     structures encountered with ontologies.  This activity should be
     moved to Rgraphviz ASAP, but there are aspects of representation
     and portability that need to be resolved.

_M_e_t_h_o_d_s:


     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_c_h_a_r_a_c_t_e_r", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_l_i_s_t" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_c_h_a_r_a_c_t_e_r", _r_e_n_d_e_r_L_i_s_t = "_m_i_s_s_i_n_g", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_c_h_a_r_a_c_t_e_r", _r_e_n_d_e_r_L_i_s_t = "_m_i_s_s_i_n_g", _o_p_t_L_i_s_t = "_l_i_s_t" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_m_i_s_s_i_n_g", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_m_i_s_s_i_n_g", _o_p_t_L_i_s_t = "_l_i_s_t" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_c_h_a_r_a_c_t_e_r", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_l_i_s_t" 
          create dot language descriptionof graph 

     _G = "_g_r_a_p_h_N_E_L", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

     _G = "_c_o_m_p_o_u_n_d_G_r_a_p_h", _o_u_t_D_o_t_F_i_l_e = "_c_h_a_r_a_c_t_e_r", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

     _G = "_c_o_m_p_o_u_n_d_G_r_a_p_h", _o_u_t_D_o_t_F_i_l_e = "_c_h_a_r_a_c_t_e_r", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_l_i_s_t" 
          create dot language descriptionof graph 

     _G = "_c_o_m_p_o_u_n_d_G_r_a_p_h", _o_u_t_D_o_t_F_i_l_e = "_m_i_s_s_i_n_g", _r_e_n_d_e_r_L_i_s_t = "_l_i_s_t", _o_p_t_L_i_s_t = "_m_i_s_s_i_n_g" 
          create dot language descriptionof graph 

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

     example(randomGraph)
     tmp <- tempfile()
     toDot( g1, tmp )
     readLines(tmp)
     unlink(tmp)

