graphviz

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGraph

func BuildGraph(g *ag.Graph, options Options) (gographviz.Interface, error)

BuildGraph creates a gographviz representation of the Graph.

func Save

func Save(gv gographviz.Interface, filename string) (err error)

Save saves a gographviz graph to a DOT file.

Types

type Options

type Options struct {
	// ColoredTimeSteps indicates whether to use different colors for
	// representing nodes with different time-step values.
	ColoredTimeSteps bool
	// ShowNodesWithoutEdges indicates whether to show graph nodes
	// which have no connections.
	ShowNodesWithoutEdges bool
}

Options allows customization of generated graphviz graphs.

Jump to

Keyboard shortcuts

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