-
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
Support for empty cluster nodes #39
Comments
Hmm I have this problem too .. I'm provisioning a new architecture that need to show an empty Cluster which I'll add resources in next project sprint .. But I need to show now that I have provisioned that separated cluster to add resources in future ... Python syntax doesn't allow a "with" block code with no code inside ... Maybe using keyword "pass" inside the block to avoid syntax error and change init.py code to detect a empty Cluster block and force to generate a " fake id "in graph section ... Empty Cluster block in current version
"Fake id" with patch
In my option is not a good approach because we are doing a little hack. As @aaronsteers commented, the better option is to create use a dummy resource with a transparent image. |
I returned to this issue just to check in, and was very pleased to see the completion of #171. I've tested this out and it meets my minimum requirements for empty nodes (via the new "Blank" node type inside a cluster). I'll close this issue because I'm happily unblocked now, but others may re-open if needed. Thank you! |
It appears that cluster nodes are not rendered if they are empty. However there are use cases, such as diagramming a VPC with public/private subnets, where it would be beneficial to render them even if there is nothing in them.
Would it be feasible to add either a blank/white dummy node to hold space inside the cluster, or else support clusters to be rendered (with some minimal height and width) even if they are empty?
The text was updated successfully, but these errors were encountered: