Sentence diagram is a technique which helps to visually understand the function of each part of a sentence. In the particular case of the sentence: “I dream of diving to the bottom of the ocean."
The sentence diagram would result as follow:
I: pronoun
dream: verb
of: preposition
diving: verb
to: preposition
the: specific article
bottom: adjective
of: preposition
the: specific article
ocean: noun