I'd be surprised if a large number of Bernie supporters "rage voted" for Trump.
A lot of them voted for Hillary (more than the percentage of her supporters during her first run who went on to vote for Obama). Others voted Green Party etc. or didn't vote at all.
If that many Bernie supporters switched to Trump he probably would have won the popular vote as well.
His use of derogatory nicknames; chants of "lock her up"; his characterizations of democrats and the media; etc.
Trump wasn't "painted" as a divisive figure.
He was a divisive figure. But hey- it worked out for him.
Too bad it also further widened by an order of magnitude the pre-existing chasm republicans and democrats had been nurturing between their supporters for decades.