graph versioning with template_id
Using graph versioning to solve the dependency inversion problem.