Alright, I talked to the engineer who worked on it as well as looked around a bit more. As best I can tell, this doesn’t work on Mermaid’s side. When I put the same code into mermaid.live, it gives the same result. I assume this is due to C4 diagrams being experimental with Mermaid generation, which is what we’re using.
From Mermaid’s website:
C4 Diagram: This is an experimental diagram for now. The syntax and properties can change in future releases. Proper documentation will be provided when the syntax is stable.
The best recommendation I have is to represent the relationship in a single line, i.e. “Rel right and Rel left.” Sorry about the inconvenience.