// 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", }) }
// GraphNodeDotter impl. func (n *GraphNodeConfigResource) DotNode(name string, opts *GraphDotOpts) *dot.Node { if n.DestroyMode != DestroyNone && !opts.Verbose { return nil } return dot.NewNode(name, map[string]string{ "label": n.Name(), "shape": "box", }) }
// GraphNodeDotter impl. func (n *graphNodeMissingProvider) DotNode(name string, opts *GraphDotOpts) *dot.Node { return dot.NewNode(name, map[string]string{ "label": n.Name(), "shape": "diamond", }) }
// GraphNodeDotter impl. func (n *graphNodeModuleExpanded) DotNode(name string, opts *GraphDotOpts) *dot.Node { return dot.NewNode(name, map[string]string{ "label": dag.VertexName(n.Original), "shape": "component", }) }
func (node *testDrawableSubgraph) DotNode(n string, opts *GraphDotOpts) *dot.Node { return dot.NewNode(n, map[string]string{}) }