1 2 3 4 5 6 7 8 9
{ "pattern_edges": [ {"from": 1, "to": 2}, {"from": 2, "to": 3} ], "replacement_edges": [ {"from": 1, "to": 3} ] }