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

shape: manual #1548

Open
alixander opened this issue Aug 10, 2023 · 0 comments
Open

shape: manual #1548

alixander opened this issue Aug 10, 2023 · 0 comments

Comments

@alixander
Copy link
Collaborator

Allow users to create a container which objects within don't undergo layout. All positions and dimensions are given by user.

Not sure if connections should be automatic then or also defined by user, which might be more tedious and less necessary.

x -> y

y: {
  shape: manual
  a -> b
  a: {
    top: 100
    left: 50
  }
  b: {
    top: 30
    left: 0
  }
  *.width: 10
  *.height: 10
  (a -> b)[0].top: [5, 10, 50]
  (a -> b)[0].left: [0, 0, 50]
}
@cyborg-ts cyborg-ts added this to D2 Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant