Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$c4ShapeInRow not counting per row #704

Open
ellipticview opened this issue Jun 23, 2024 · 0 comments
Open

$c4ShapeInRow not counting per row #704

ellipticview opened this issue Jun 23, 2024 · 0 comments

Comments

@ellipticview
Copy link

It is expected that $c4ShapeInRow determines the max shapes in a single row.

The behavior seems to be counting across boundaries instead of for a single row.

To Reproduce

    C4Context
      title System Context diagram
      Enterprise_Boundary(A, "A") {
        System(a1, "System a1")
        System(a2, "System a2")

      }
      Enterprise_Boundary(B, "B") {
        System(b1, "System b1")
        System(b2, "System b2")
        System(b3, "System b3")
        System(b4, "System b4")
      }


      UpdateLayoutConfig($c4ShapeInRow="4", $c4BoundaryInRow="1")

image

Expected behavior
Systems b1-b4 in one row.

Note, if we increase the value of $c4ShapeInRow to 6, then b1-b4 are displayed in one row.

    C4Context
      title System Context diagram
      Enterprise_Boundary(A, "A") {
        System(a1, "System a1")
        System(a2, "System a2")

      }
      Enterprise_Boundary(B, "B") {
        System(b1, "System b1")
        System(b2, "System b2")
        System(b3, "System b3")
        System(b4, "System b4")
      }


      UpdateLayoutConfig($c4ShapeInRow="6", $c4BoundaryInRow="1")

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant