-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Allow any Node to behave as a Cluster #34
Comments
This would be a great feature. But I have no ideas about how to represent the group container with Do you know any options for adding a tab image to a subgraph of Graphviz? |
I was thinking similarly as OP in regards to wanting nodes such as VPC to also be containers - I'm not sure how to do this in Graphviz though. I'm curious also if this could be broken out into two phases: 1: If a node is used as a cluster, it "just works" as a container and perhaps uses some text-only representation of it's status as a "VPC". For the code sample above, it might be as simple as Something like this interesting? In my opinion, I'd rather be labeling my clusters as 'VPC's if that's what they are, rather than using a generic cluster object. |
possible hacks to get the approximate results you are after |
I just took a look at #407 and WOW - I love it. Exactly what I was hoping for, personally. |
In the diagrams library, there is a distinction between
Cluster
s andNode
s. A node is a single entity, while a cluster is to group things. As an improvement, I would like to use any Node defined in the libraries as a Cluster too.Let me elaborate based on the AWS VPC architecture diagram:
The VPC (
diagrams.aws.network.VPC
) is the outer entity here, but drawn as a cluster in which other entities can be placed. In the image, you see Subnets, Network ACLs, Elastic IPs nested within each other.In
diagrams
code, this could be written as:If each node could be used as a cluster too, it would immediately solve #17. 😉
The text was updated successfully, but these errors were encountered: