add a working version of EdgeOutputFormat class with the correspondig text output format