A melody consisting of multiple notes at the same pitch is still a melody though, no?
Haha, kinda like that.
I don't see melody and rhythm as yin and yang.
Melody cannot exist without rhythm, but rhythm can exist without a comprehensible melody.
...I don't consider a single stroke roll on a snare drum a melody for example.
Don't see melody as a musical element on its own, it is a combination of rhythm and pitch for each note.
Rhythm (syncopation, swinging, phrasing, metre, and what not)
Timbre (character of sound)
Those are the fundamental elements of music.
Without rhythm there is no note produced in the first place, each note has a happening and a duration, applies to percussion aswell.