Giter Site home page Giter Site logo

Comments (6)

bkmeneguello avatar bkmeneguello commented on May 22, 2024 2

@ringods

The #407 is doing that, not the theme part, but allowing any Node to be a Cluster (actually, it makes the Cluster class just an alias of Node)

from diagrams.

mingrammer avatar mingrammer commented on May 22, 2024

This would be a great feature. But I have no ideas about how to represent the group container with tab icons like VPC container in your diagram.

Do you know any options for adding a tab image to a subgraph of Graphviz?

from diagrams.

aaronsteers avatar aaronsteers commented on May 22, 2024

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 production (VPC) or 'production' VPC. (Downside of this step in the implementation is that the cluster view loses the special icons/symbols when used as a cluster. When not used as a cluster, it would work identical as today.)
2: Later on, when a solution is found for rendering the image on top of the rectangle, this could replace or be added in addition to the text VPC description on the container node.

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.

from diagrams.

clayms avatar clayms commented on May 22, 2024

possible hacks to get the approximate results you are after

#279 (comment)
#181 (comment)

from diagrams.

aaronsteers avatar aaronsteers commented on May 22, 2024

Thanks, @clayms. the comment on #279 seems very close to what I was looking for. Ideally, this would be a property of the cluster instead of having to declare the additional minified node. Very close though, and the link to #90 also looks like it's heading in the same direction.

from diagrams.

aaronsteers avatar aaronsteers commented on May 22, 2024

I just took a look at #407 and WOW - I love it. Exactly what I was hoping for, personally.

from diagrams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.