R: add 'mode' argument to print.graph()

To select the printing format explicitly.