The formal term for what you want to do is bus routing or edge grouping.
If you have your diagram already laid out and only need to adjust the edges, use "Layout" -> "Edge Routing" -> "Orthogonal Bus-style".
If you need to lay out the diagram from scratch, use "Layout" -> "Hierarchic" and activate setting "Automatic Edge Grouping" on tab "Edges".