use __str__ replace the dump; print action name when dumping edge