Weight Functions in sample
Updates to the graph generator