def METHOD_NAME(self):
    def de_flow_edge(s, t):
        return self.de_flow_node(s) | self.de_flow_node(t)
    return [{
        'data': {
            'id': str((s, t)),
            'source': str(s),
            'target': str(t),
            'label': self.edge((s, t))
        },
        'classes': ' '.join(map(str, de_flow_edge(s, t)))
    } for s, t in self.graph.edges]