[#18] Edge writers refactoring