Cross-cutting containers? #328
Replies: 11 comments 16 replies
-
yeah this is not possible in D2 right now. i agree this should be possible. will think on the syntax... |
Beta Was this translation helpful? Give feedback.
-
Maybe I misunderstood you, but maybe you wanted something like this?
|
Beta Was this translation helpful? Give feedback.
-
What if we allow defining shapes that can specify encompassing other objects. x.y -> a.b
c: {
# c would be drawn to be around the bounding box of x.y and a
constraint: [x.y; a]
} I think we can reuse the The limitation is that these shapes themselves cannot have any children. |
Beta Was this translation helpful? Give feedback.
-
I don't find
|
Beta Was this translation helpful? Give feedback.
-
TALA does actually have the foundations for this. For example, the code is set up for a "place X in a way that a bounding box between X and Y and Z do not include any other shapes" |
Beta Was this translation helpful? Give feedback.
-
Hi, Specifically, being able to represent the Auto-Scaling Groups and the DB subnet group that are crossing the availability zones groups. About the syntax, I believe I could live with only absolute Something like: AZ1: {
WebNet: {
EC2_Web
}
AppNet: {
EC2_App
}
}
AZ2: {
WebNet: {
EC2_Web
AppNet: {
EC2_App
}
}
ASG_Web: {
AZ1.WebNet.EC2
AZ2.WebNet.EC2
}
ASG_App: {
AZ1.AppNet.EC2
AZ2.AppNet.EC2
}
VPC: {
AZ1.WebNet
AZ2.WebNet
AZ1.AppbNet
AZ2.AppNet
}
Cloud: {
AZ1
AZ2
VPC
}
On a nth look, the VPC case may be trickier 🤔 Just hope this will eventually be part of the free tier as the subscription is not in my pocket reach... Thanks for all |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this feature? |
Beta Was this translation helpful? Give feedback.
-
Can this be looked at as a feature, I would use this a lot if Cloud architecture diagrams and so would a lot of my colleagues. |
Beta Was this translation helpful? Give feedback.
-
Maybe we introduce a new groups: {
aws_things: AWS Objects {
style.fill: green
}
}
x: {
a.group: groups.aws_things
}
y: {
b.group: groups.aws_things
} Even though there's no way for Dagre or ELK to support this in a way that grouped things are close to each other for a clean box, in theory you can wrap the two nodes in some minimum bounding box or hoop. Like what if you wanted to group satellites and storage here? This looks very unclean, but can't think of any other solutions and is maybe good enough. I guess you'd have to search a path from one corner of top-left-most object to the bottom-right-most that goes through all objects, and then inflate it. Seems very dubious if that can yield good results. Another option is that this is a grid-specific feature. Since grids is our layout algorithm, it can ensure that nodes end up close to each other. And from what I've seen of these use cases, it looks quite grid-like. This of course runs a big limitation that it won't work on regular objects in the main layout. Plus if you want to do this between two grids which are in separate containers which go through the main layout algorithm, it still can't do anything about proximity. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If for nothing else than to make this discussion turn up for some relevant search terms, I'll mention Venn diagrams and Euler diagrams. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm looking to overlap containers, rather than requiring containers to be nested.
I was hoping that I could have the "cloud" container intersect the "app" container and have app.server live in the intersection. Is this possible? Is there an alternative that people like?
Beta Was this translation helpful? Give feedback.
All reactions