mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
dot: only draw provider close on terraform greph -verbose
This commit is contained in:
parent
6fdbca8e58
commit
38efe4cb80
@ -342,6 +342,9 @@ func (n *graphNodeCloseProvider) CloseProviderName() string {
|
||||
|
||||
// GraphNodeDotter impl.
|
||||
func (n *graphNodeCloseProvider) DotNode(name string, opts *GraphDotOpts) *dot.Node {
|
||||
if !opts.Verbose {
|
||||
return nil
|
||||
}
|
||||
return dot.NewNode(name, map[string]string{
|
||||
"label": n.Name(),
|
||||
"shape": "diamond",
|
||||
|
Loading…
Reference in New Issue
Block a user