zip the output of format_begraph