Printing function for mcl-2 / graphs