Soler opened the fourth inning with his 20th homer, a drive into the seats in left. Freddie Freeman followed with an infield single and Riley then launched his 28th homer into the seats in left-center.
Eddie Rosario added two-run triple in the sixth for the NL East leaders, and Ozzie Albies connected for his 23rd homer in the eighth.
Die Reuse, with the best record in the major leagues, had won 15 van 19. They began the day with two-game lead over the Los Angeles Dodgers in the NL West.
Atlanta had lost three of four following a nine-game winning streak. The Braves began the day with a 4½-game lead in the division.
Anderson (6-5) made his first start since July 11 after missing 39 games with right shoulder inflammation. He pitched out of jams in the first with two runners on and in the third with a runner on third.
DeSclafani (11-6) came off the injured list, ook, after right ankle pain had sidelined him since Aug. 18. He retired his first six batters before Rosario singled to begin the third. DeSclafani stranded him at second with a strikeout of Albies.
DeSclafani left when a trainer came out to see him after Dansby Swanson reached on an infield single with no outs in the fourth. He gave up three runs and six hits.
Anderson permitted four hits and two walks in 5 2/3 innings.
Reuse: 3B-OF Kris Bryant was available to pinch-hit after leaving Friday’s game with right side tightness. Manager Gabe Kapler hopes he can return to the lineup Monday after an MRI came back negative. … Atlanta LF Adam Duvall got the day off but lined out as a pinch hitter in the sixth.
Albies doubled and homered for his 62nd and 63rd extra-base hits, most in the NL. The Braves improved to 18-6 with Albies batting leadoff.
The Giants reinstated first baseman Brandon Belt from the bereavement list. He went 1 vir 3 with a walk. Infielder Thairo Estrada was optioned to Triple-A Sacramento and right-hander Tyler Chatwood was designated for assignment to make room for DeSclafani and Belt on the roster.
The Braves optioned right-hander Edgar Santana to make room for Anderson.
Reuse: RHP Johnny Cueto (7-6, 3.73 ERA) will face Brewers RHP Corbin Burnes (8-4, 2.30 ERA) in the opener of a four-game series Monday night.
Braves: LHP Drew Smyly (9-3, 4.54 ERA) pitches for the Braves on Monday night in the opener of a three-game series at Los Angeles. The Dodgers have yet to announce a starter.