I/O between arduinos with opto coupling. Sample schematic

I noticed that on this RS485 board which uses the max485 chip, there's extra vcc applied and resistors in extra places.

I based my diagram off the schematic in the first page off the datasheet which didn't show these, but that may be because the datasheet only shows a part of the full circuit needed for use with an arduino. Should i add these into my schematic with the max485s?

Here's another example but there's no 10k resistors on R0 RE DE D1 and the resistors on the other side are only 680 ohms where as on the one above uses 20K ones.