print.igraph             package:igraph             R Documentation

_P_r_i_n_t _g_r_a_p_h_s _t_o _t_h_e _t_e_r_m_i_n_a_l

_D_e_s_c_r_i_p_t_i_o_n:

     These functions attempt to print a graph to the terminal in a
     human readable form.

_U_s_a_g_e:

     ## S3 method for class 'igraph':
     print(x,
       graph.attributes=igraph.par("print.graph.attributes"),
       vertex.attributes=igraph.par("print.vertex.attributes"),
       edge.attributes=igraph.par("print.edge.attributes"),
       names=TRUE, quote.names=TRUE,
       ...)
     ## S3 method for class 'bgraph':
     print(x,
       ...)
     ## S3 method for class 'igraph':
     summary(object, ...)

_A_r_g_u_m_e_n_t_s:

       x: The graph to print.

graph.attributes: Logical constant, whether to print graph attributes.

vertex.attributes: Logical constant, whether to print vertex
          attributes.

edge.attributes: Logical constant, whether to print edge attributes.

   names: Logical constant, whether to print symbolic vertex names (ie.
          the 'name' vertex attribute) or vertex ids.

quote.names: Logical scalar, whether to quote symbolic vertex names.

  object: The graph of which the summary will be printed.

     ...: Additional agruments, 'print.bgraph' passes these to
          'print.igraph'.

_D_e_t_a_i_l_s:

     'summary.igraph' prints the number of vertices, edges and whether
     the graph is directed. 'print.igraph' prints the same information,
     aand also lists the edges, and optionally graph, vertex and/or
     edge attributes.

     As of igraph 0.4 'print.igraph' uses the 'max.print' option, see
     'options' for details.

     'print.bgraph' prints a 'bgraph' object, a graph together with its
     cohesive block hierarchy, see 'cohesive.blocks' for details.

_V_a_l_u_e:

     All these functions return the graph invisibly.

_A_u_t_h_o_r(_s):

     Gabor Csardi csardi@rmki.kfki.hu

_E_x_a_m_p_l_e_s:

     g <- graph.ring(10)
     g
     summary(g)

