Edge-based sequential graph generation with recurrent neural networks