Versions in this module Expand all Collapse all v1 v1.0.0 Jul 18, 2023 Changes in this version + const HALIGN_CENTER + const HALIGN_LEFT + const HALIGN_RIGHT + const HALIGN_TEXT + const VALIGN_BOTTOM + const VALIGN_MIDDLE + const VALIGN_TOP + var DefaultFontConfig = FontConfig + type EdgeOptions struct + Color string + Font FontConfig + func (e EdgeOptions) String() string + type FontConfig struct + Color string + Face string + Size int + func (f FontConfig) String() string + func (f FontConfig) Write(s string) string + type HorizontalAlignment string + type Options struct + Color string + Edges EdgeOptions + Font FontConfig + Labels TableCellOptions + Properties TableCellOptions + Rankdir string + Table TableOptions + func DefaultOptions() Options + type Renderer struct + EdgeSelectorFunc func(*lpg.Edge) bool + NodeSelectorFunc func(*lpg.Node) bool + Options Options + func (r Renderer) EdgeRenderer(fromID, toID string, edge *lpg.Edge, w io.Writer) (bool, error) + func (r Renderer) NodeBoxRenderer(ID string, node *lpg.Node, wr io.Writer) (bool, error) + func (r Renderer) NodeTableRenderer(ID string, node *lpg.Node, wr io.Writer) (bool, error) + func (r Renderer) Render(g *lpg.Graph, graphName string, out io.Writer) error + type TableCellOptions struct + Align HorizontalAlignment + BGColor string + Balign HorizontalAlignment + Border string + CellPadding string + CellSpacing string + ColSpan int + Color string + Font FontConfig + HRef string + Port string + RowSpan int + Style string + Target string + Valign VerticalAlignment + func (t TableCellOptions) String() string + type TableOptions struct + Align HorizontalAlignment + BGColor string + Border string + CellBorder string + CellPadding string + CellSpacing string + Color string + Columns int + HRef string + ID string + Port string + Rows int + Sides int + Style string + Target string + Title string + Valign VerticalAlignment + func (t TableOptions) String() string + type VerticalAlignment string v1.0.0-beta9 Apr 8, 2022 v1.0.0-beta8 Mar 10, 2022 v1.0.0-beta7 Nov 3, 2021 v1.0.0-beta6 Oct 4, 2021 v1.0.0-beta5 Sep 2, 2021 v1.0.0-beta22 Feb 9, 2023 v1.0.0-beta21 Feb 8, 2023 v1.0.0-beta20 Jan 17, 2023 v1.0.0-beta19 Dec 16, 2022 v1.0.0-beta17 Oct 20, 2022 v1.0.0-beta16 Sep 15, 2022 v1.0.0-beta15 Jun 30, 2022 v1.0.0-beta14 May 11, 2022 v1.0.0-beta13 May 9, 2022 v1.0.0-beta12 Apr 25, 2022 v1.0.0-beta11 Apr 14, 2022 v1.0.0-beta10 Apr 12, 2022 v1.0.0-beta-18 Nov 8, 2022