Allen Graves had a 20-point, 10-rebound double-double and Scottie Barnes added 29 points to lift the Toronto Raptors over the Detroit Pistons 105-102.