in template use edges['edges']