<% (1..4).each do |id| %> edge_<%= id %>: source_id: <%= id %> sink_id: <%= id + 1 %> <% end %>