attrDefaults-methods          package:graph          R Documentation

_G_e_t _a_n_d _s_e_t _t_h_e _d_e_f_a_u_l_t _a_t_t_r_i_b_u_t_e_s _o_f _a_n _a_t_t_r_D_a_t_a _o_b_j_e_c_t

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

     The 'attrDefaults' method provides access to a 'attrData-class'
     object's default attribute list.  The default attribute list of a
     'attrData-class' object defines what attributes can be customized
     for individual data elements by defining attribute names and
     default values.

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

     attrDefaults(self, attr)
     attrDefaults(self, attr) <- value

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

    self: A 'attrData-class' instance

    attr: A 'character' vector of length 1 giving the name of an
          attribute.  Can be missing.

   value: An R object that will be used as the default value of the
          specified attribute, or a named list of attribute
          name/default value pairs if 'attr' is missing.

