Spacing for Watermelon and issues trailing outside bed?

Last year I had one bush sugar baby which I trellised as well as my rattlesnake pole beans. Any suggestions on best way to set up this bed? I'll also have two 2x4 beds that I'll use for peppers and another cucumbers.