Despite being in the same series, I don't think they can be compared. DD was made for PCs. It's not the most complex PC RPG ever made, and rather simplistic leaning more toward action RPGs, but still one of the better PC RPGs made. Divinity 2, however, was made for consoles. It sucks, but it's the truth because that's where the money is. In being developed first for consoles it was further simplified, and the visuals took precedence over all.

The two games are from different eras. PC gamers are second class citizens now and so we must be satisfied with whatever scraps drop from the console table. You know what else? It's PC gamers' faults; why should publishers care about the PC market when 10 times as many people will pirate their game than buy it?