Generate Jinja template dependency graph