Skip to content

C4 Dynamic Diagram multiple interactions #7183

@aristotelos

Description

@aristotelos

Description

When there are multiple interactions between the same diagram components in a C4 Dynamic Diagram, they are not rendered.

Steps to reproduce

  1. Create a C4Dynamic diagram with multiple Rels between the same components
  2. Check if all Rels are visible

Screenshots

Image

Code Sample

C4Dynamic
    System(a, "A")
    System(b, "B")
    Rel(a, b, "Interaction 1")
    Rel(a, b, "Interaction 2")

In this diagram, Interaction 1 is not rendered, probably because the parser replaces it by Interaction 2 because they are between the same systems. But in a dynamic diagram, there can be multiple interactions between the same systems.

Setup

  • Mermaid version: v10.9.5
  • Browser and Version: Chrome, Edge, Firefox

Suggested Solutions

All relationships should be rendered, and they should not collide.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions