better graph pretty printing.