added graphing code working on text edges generatrion