As stated, what I have shown is the BASIC style used for accompaniments.
Take the"Street of London". What I have shown could be used to accompany the song ( with appropriate chords and string choice), but to play the melody extra notes - and the use of hammering on - would have to added.