package
0.0.0
Repository: https://github.com/soniakeys/graph.git
Documentation: pkg.go.dev

# Functions

Directed specifies whether to write a dot format directected or undirected graph.
EdgeAttr specifies a function to generate a list of edge attributes for given the arc label integers of graph package.
EdgeLabel specifies a function to generate edge label strings for the dot format given the arc label integers of graph package.
GraphAttr adds a dot format graph attribute.
Indent specifies an indent string for the body of the dot format.
Isolated specifies whether to include isolated nodes.
NodeID specifies a function to generate node ID strings for the dot format given the node integers of graph package.
NodePos specifies a function to format coordinate strings.
String generates a dot format string for a graph.
UndirectArcs, for the WeightedEdgeList graph type, specifies to write each element of the edge list as a dot file undirected edge.
Write writes dot format text for a graph to an io.Writer.

# Variables

Defaults holds a package default Config struct.

# Structs

AttrVal represents the dot format concept of an attribute-value pair.
Config holds options that control the dot output.

# Type aliases

Options are passed variadic arguments to a function like Write or String.