graphviz

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadGraph

func LoadGraph(reader io.Reader, keepTfJunk bool, excludePatterns []string) *tfgraph.Graph

LoadGraph reads the Graphviz graph from the specified reader and returns the corresponding Terraform graph.

func WriteGraph

func WriteGraph(writer io.Writer, graph *tfgraph.Graph, options *RenderingOptions)

WriteGraph writes the specified Terraform graph in Graphviz Dot format.

Types

type RenderingOptions

type RenderingOptions struct {
	GraphName    string
	EmbedModules bool
}

RenderingOptions contains all the options used during graph rendering.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL