Ensure multiply rooted graphs look like that
Cleaner template definition