In the top example of the music above, I have composed a simple chord progression with an idiomatic top voice that leads to a cadence.
In the bottom part, I have tried to arpeggiate the right hand of the texture while keeping the top voice audible and as the main melodic line. In the second bar of the arpeggiated version the strong beats of the bar still has the melody note B. And it still moves to A on beat 3. Or does it? The B of the cadential 6/4 doesn't go directly to A anymore on beat 3 as it did in the chordal texture. It arpeggiates and moves from G to A instead.
I would be interested to hear from other theorists and composers if they think that my arpeggiation compromises the voice leading in any way?
Something to consider:
What if the note G just before beat 3 of the second bar was an 8th note or quarter note? Its longer duration would almost certainly make my voice leading change and I would have a different "top line"; you would hear B > G > A instead of B > A in the melody. And of course if you spend time with your voice leading you don't want to make changes like this. Is it fair to say, that because of its quick appearance that the G is a sort of embellishment even though it is a chord tone?