Documentation ¶
Index ¶
- func New(attrs ...Attribute) *dot.Graph
- type Attribute
- func BackgroundColor(color string) Attribute
- func BottomTop(enable bool) Attribute
- func FontName(name string) Attribute
- func FontSize(size float32) Attribute
- func Label(label string) Attribute
- func LeftToRight() Attribute
- func NodeSep(size float32) Attribute
- func Ortho(enable bool) Attribute
- func RankSep(size float32) Attribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attribute ¶
Attribute is a function that apply a property to a Graph.
func BackgroundColor ¶
BackgroundColor sets the Graph background color.
func LeftToRight ¶
func LeftToRight() Attribute
LeftToRight sets direction of Graph layout from left to right.
func NodeSep ¶ added in v0.4.0
NodeSep specifies the minimum space between two adjacent nodes in the same rank, in inches.
Click to show internal directories.
Click to hide internal directories.