added displayweight to graph template