connect-graph! which inserts the minimal number of edges and pretty printing graphs