Documentation
¶
Index ¶
Constants ¶
View Source
const HALIGN_CENTER = "CENTER"
View Source
const HALIGN_LEFT = "LEFT"
View Source
const HALIGN_RIGHT = "RIGHT"
View Source
const HALIGN_TEXT = "TEXT"
View Source
const VALIGN_BOTTOM = "BOTTOM"
View Source
const VALIGN_MIDDLE = "MIDDLE"
View Source
const VALIGN_TOP = "TOP"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HorizontalAlignment ¶
type HorizontalAlignment string
type Options ¶
type Options struct {
Table TableOptions
TD TableCellOptions
}
func DefaultOptions ¶
func DefaultOptions() Options
type Renderer ¶
type Renderer struct {
Options Options
NodeSelectorFunc func(ls.Node) bool
EdgeSelectorFunc func(ls.Edge) bool
}
func (Renderer) EdgeRenderer ¶
func (Renderer) NodeRenderer ¶
type TableCellOptions ¶
type TableCellOptions struct {
Align HorizontalAlignment `dot:"ALIGN"`
Balign HorizontalAlignment `dot:"BALIGN"`
BGColor string `dot:"BGCOLOR"`
Border string `dot:"BORDER"`
CellPadding string `dot:"CELLPADDING"`
CellSpacing string `dot:"CELLSPACING"`
Color string `dot:"COLOR"`
ColSpan int `dot:"COLSPAN"`
HRef string `dot:"HREF"`
Port string `dot:"PORT"`
RowSpan int `dot:"ROWSPAN"`
Style string `dot:"STYLE"`
Target string `dot:"TARGET"`
Valign VerticalAlignment `dot:"VALIGN"`
}
func (TableCellOptions) String ¶
func (t TableCellOptions) String() string
type TableOptions ¶
type TableOptions struct {
Align HorizontalAlignment `dot:"ALIGN"`
BGColor string `dot:"BGCOLOR"`
Border string `dot:"BORDER"`
CellBorder string `dot:"CELLBORDER"`
CellPadding string `dot:"CELLPADDING"`
CellSpacing string `dot:"CELLSPACING"`
Color string `dot:"COLOR"`
Columns int `dot:"COLUMNS"`
HRef string `dot:"HREF"`
ID string `dot:"ID"`
Port string `dot:"PORT"`
Rows int `dot:"ROWS"`
Sides int `dot:"SIDES"`
Style string `dot:"STYLE"`
Target string `dot:"TARGET"`
Title string `dot:"TITLE"`
Valign VerticalAlignment `dot:"VALIGN"`
}
func (TableOptions) String ¶
func (t TableOptions) String() string
type VerticalAlignment ¶
type VerticalAlignment string
Click to show internal directories.
Click to hide internal directories.