Here are the notes from the diagram in standard music notation and tablature.
These notes can be used to play thousands of melodies in the key of C major. It is not necessary to always start and finish on the note C. Depending on the chords you are playing over, it may sound best to start on any of the notes in the scale. E.g. if you were playing over a C chord followed by a D minor chord, you could play the scale starting on C for the C chord but start on D for the D minor chord, as in the following example. This is a modal approach to playing scales, which is the way Jazz players often use scales.
As well as knowing which notes will sound best over a particular chord, the things which make a melody interesting are the rhythm and the order in which the notes are played. The scale is only the starting point. If you just run up and down a scale, it soon gets boring. Compare the following example with the previous one and you will hear how a melody can be created from the scale. This melody is played with a swing feel, as indicated by the swing eighths symbol.