Use this if you are using igraph from R
| head_print {igraph} | R Documentation | 
Print the only the head of an R object
head_print(
  x,
  max_lines = 20,
  header = "",
  footer = "",
  omitted_footer = "",
  ...
)
x | 
 The object to print, or a callback function. See
  | 
max_lines | 
 Maximum number of lines to print, not including the header and the footer.  | 
header | 
 The header, if a function, then it will be called,
otherwise printed using   | 
footer | 
 The footer, if a function, then it will be called,
otherwise printed using   | 
omitted_footer | 
 Footer that is only printed if anything
is omitted from the printout. If a function, then it will be called,
otherwise printed using   | 
... | 
 Extra arguments to pass to   | 
x, invisibly.