pistazie / cdk-dia

Automated diagrams of CDK provisioned infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Merge with cfn-diagram?

sholtomaud opened this issue · comments

Wondering whether these two projects could come together.

cfn-diagram is nice because it exports draw.io (which is available in VSCode Extensions)
cdk-dia is nice because it is "DaC".

cfn-diagram

Hi Sholto,

I guess a merge won't make too much sense as CDK-DIA is based in the CDK tree and cfn-diagram deals with Cfn templates.

Most of CDK-DIA's magic is in the diagram module and I guess one could write rather easily an additional draw.io renderer.

In one of my latest commits to a branch I extracted a DiagramRenderer interface one could implement for such a use case (that was implemented as another contributor wants to try and implement a more interactive diagram).

If you any one wants to pitch in and write such a renderer please don't hesitate to reach out to me for an intro.

Hi @pistazie,

Thank you for the response. I understand.

Interactive diagrams would be a very interesting use case. The entire list of tools at https://aws.amazon.com/architecture/icons/ would be hard to support.

@sholtomaud interactive diagrams add in https://github.com/pistazie/cdk-dia/tree/0.5.0 as beta for now