Reusable graph transformation templates