Cacti graph template generator