Add and handle `graph.from` and `graph.to` (Useful for `ag`)