boundingBox-class         package:Rgraphviz         R Documentation

_C_l_a_s_s "_b_o_u_n_d_i_n_g_B_o_x": _A _c_l_a_s_s _t_o _d_e_s_c_r_i_b_e _t_h_e _b_o_u_n_d_i_n_g _b_o_x _o_f _a
_R_a_g_r_a_p_h

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

     The 'boundingBox' class is used to describe the dimensons of the
     bounding box for a laid out Ragraph

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("boundingBox",
     ...)'.

_S_l_o_t_s:


     '_b_o_t_L_e_f_t': Object of class '"xyPoint"' Defines the bottom left
          point of the bounding box

     '_u_p_R_i_g_h_t': Object of class '"xyPoint"' Defines the upper right
          point of the bounding box

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


     _b_o_t_L_e_f_t Retrieve the botLeft slot

     _u_p_R_i_g_h_t Retrieve the upRight slot

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

     Jeff Gentry

_S_e_e _A_l_s_o:

     'Ragraph', 'graph-class'

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

     V <- letters[1:10]
     M <- 1:4
     g1 <- randomGraph(V, M, .2)
     z <- agopen(g1,"foo")
     x <- boundBox(z)
     x

     botLeft(x)
     upRight(x)

