Is there a way to view a dependency graph of an un...
# general
b
Is there a way to view a dependency graph of an undeployed stack?
l
A resource graph like on app.pulumi.com? Or dependencies like .NET assemblies, npm modules, etc.?
b
resource graph like app.pulumi.com
l
I haven't seen a way to do that automatically. If you're happy with the text version, you could
pulumi preview --show-reads
. Or you could write your own transpiler that converts the preview to graphviz?
b
okay, thanks Paul! I'll see what I can do re: transpiling
l
🙂 Or if your stack isn't expensive, you could up it, nab the visualization, then destroy it...?
Or run the whole thing through mocha and have the mocking code produce graphviz code.. that would be fun..
😆 1