optionally include secondary edges in prolog output format