graph templating for data
added map templating