Adding new GraphT using generic templating for nodes and edges