Documentation
¶
Overview ¶
Package dot transforms a pathbuilder into a dot file
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBundleSubgraph ¶
NewBundleSubgraph adds a new subgraph for the given bundle. It does not fill the subgraph.
func NewDot ¶
func NewDot(pb pathbuilder.Pathbuilder, opts Options) *dot.Graph
NewDot creates a new graph from the given pathbuilder
func NewDotForBundles ¶
func NewDotForBundles(opts Options, bundles ...*pathbuilder.Bundle) *dot.Graph
NewDot creates a new graph from the given pathbuilder
Types ¶
type Options ¶
type Options struct {
Prefixes map[string]string // prefixes for urls to use
IDPrefix string // force id prefixes for specific nodes
FlatChildBundles bool // do not create groups for each child bundle
IndependentChildBundles bool // consider each bundle a
CopyChildBundleNodes bool // attempt to copy nodes which occur in unique child bundles
BundleUseDisplayNames bool // use display names (as opposed to machine names) for bundle labels
ColorBundle string // color to highlight starting points for bundles
ColorDatatype string // color to use for datatype property nodes
}
Click to show internal directories.
Click to hide internal directories.