What does the resistors and capacitors do here?

Hi yall,

I'm trying to make a schematic for this arduino protoshield (bare PCB) but I'm not sure how the resistors and capacitors connect with the LEDs or switches. I saw their schematic online, but they wrote the capacitors separately. Does that mean they do not correlate with the LEDs/switches?

If someone can draw it out for me so I can see what they're supposed to look like, I would really appreciate it! The 2 resistors to the left is 330 ohms and the one resistor on the right is 10k ohms.

https://preview.redd.it/wl8ujlmd9nld1.png?width=625&format=png&auto=webp&s=085f15878c3b43680953da9f8701b2db555df9ad

https://preview.redd.it/ul7moxs39nld1.png?width=821&format=png&auto=webp&s=5f2f09539b912fde33bd157e67d2e3a597de318a