Question: How to add DAG edges in a macro explicitly

The problem I’m having

I want to add additional linage in a custom materisation which although used in macro , is not referenced in the sql file. The may be alternatives to solving the problem but in this case I need a custom materisation to do “model” and I need relationships which are not in the SQL

The context of why I’m trying to do this

The model and materisation have some non-standard requirements

What I’ve already tried

Nothing yet . I have considered using sql file but I don’t want to go down that route.

Some example code or error messages

Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML!