adding graph tpl