I want to display nodes in a Use Case diagram more compact than Graphviz does by default. Say for example the following cases are wrapped in a rectangle:
actor A
actor B
A - (case a)
(case b) - B
A - (mixed case)
(mixed case) - B
By default the cases are aligned vertically. I'd prefer to have (case a) an (case b) side-by-side and (mixed case) centred and below the previous cases. I've also tried to use -[hidden]- links
(case a) -[hidden]- (case b)
but then (mixed case) gets left aligned and cases a and b are too wide apart. Here's how it looks in full beauty:
@startuml
left to right direction
Source <<Operator>>
Sink <<Operator>>
Source ..> Sink : notify service address
rectangle "Init phase" {
Source -> (Prepare service)
(Prepare service) -[hidden]-(Register with service)
(Register with service) <- Sink
Source -> (Secure channel) : <<initiate>>
(Secure channel) <-- Sink : <<participate>>
Source --> (Ensure readiness) : <<participate>>
(Ensure readiness) <- Sink : <<initiate>>
}
@enduml
Image here: