Versions in this module Expand all Collapse all v0 v0.10.0 Aug 10, 2026 Changes in this version + const AssemblyShape + const AutoRatio + const AvgDistSmooth + const BLDir + const BRDir + const BTRank + const BackDir + const BoldEdgeStyle + const BoldGraphStyle + const BoldNodeStyle + const BothDir + const BottomCenteredPos + const BottomLeftPos + const BottomLocation + const BottomRightPos + const Box3DShape + const BoxArrow + const BoxShape + const BreadthFirst + const CdsShape + const CenteredJust + const CenteredLocation + const CircleShape + const CircuitModel + const ClusterPack + const ComponentShape + const CompressRatio + const CrowArrow + const CylinderShape + const DashedEdgeStyle + const DashedGraphStyle + const DashedNodeStyle + const DiagonalsNodeStyle + const DiamondArrow + const DiamondShape + const DotArrow + const DottedEdgeStyle + const DottedGraphStyle + const DottedNodeStyle + const DoubleCircleShape + const DoubleOctagonShape + const EDiamondArrow + const EdgesFirst + const EggShape + const EllipseShape + const EmptyArrow + const ExpandRatio + const FastQuad + const FillRatio + const FilledGraphStyle + const FilledNodeStyle + const FivePoverHangShape + const FolderShape + const ForwardDir + const GlobalCluster + const GraphDistSmooth + const GraphPack + const HalfOpenArrow + const HexagonShape + const HierMode + const HouseShape + const InOrdering + const InsulatorShape + const InvArrow + const InvDotArrow + const InvEmptyArrow + const InvHouseShape + const InvODotArrow + const InvTrapeziumShape + const InvTriangleShape + const IpsepMode + const KKMode + const LArrowShape + const LBDir + const LPromoterShape + const LRRank + const LTDir + const LeftJust + const LocalCluster + const MajorMode + const MaxentMode + const McircleShape + const MdiamondShape + const MdsModel + const MiddleCenteredPos + const MiddleLeftPos + const MsquareShape + const NodePack + const NodesFirst + const NoneArrow + const NoneCluster + const NoneDir + const NoneQuad + const NoneShape + const NoneSmooth + const NormalArrow + const NormalQuad + const NoteShape + const NoverHangShape + const OBoxArrow + const ODiamondArrow + const ODotArrow + const OctagonShape + const OpenArrow + const OutOrdering + const OvalShape + const ParallelogramShape + const PentagonShape + const PlainShape + const PlainTextShape + const PointShape + const PolygonShape + const PowerDistSmooth + const PrimersiteShape + const PromoterShape + const ProteasesiteShape + const ProteinstabShape + const RArrowShape + const RBDir + const RLRank + const RPromoterShape + const RTDir + const RandomStart + const RectShape + const RectangleShape + const RegularStart + const RestrictionSiteShape + const RibositeShape + const RightJust + const RnastabShape + const RngSmooth + const RoundedGraphStyle + const RoundedNodeStyle + const SelfStart + const SeptagonShape + const ShortPathModel + const SignatureShape + const SolidEdgeStyle + const SolidGraphStyle + const SolidNodeStyle + const SpringMode + const SprintSmooth + const SquareShape + const StarShape + const StripedGraphStyle + const StripedNodeStyle + const SubsetModel + const TBRank + const TLDir + const TRDir + const TabShape + const TeeArrow + const TerminatorShape + const ThreePoverHangShape + const TopCenteredPos + const TopLeftPos + const TopLocation + const TopRightPos + const TrapeziumShape + const TriangleShape + const TriangleSmooth + const TripleOctagonShape + const UnderlineShape + const UtrShape + const VeeArrow + const WedgedNodeStyle + var DefaultPlugins = gvc.DefaultPlugins + var DeviceDPI = gvc.WithDeviceDPI + var DeviceFeatures = gvc.WithDeviceFeatures + var DeviceQuality = gvc.WithDeviceQuality + var Directed = cgraph.Directed + var JPGDevicePlugin = gvc.JPGDevicePlugin + var JPGRenderPlugin = gvc.JPGRenderPlugin + var NewDevicePlugin = gvc.NewDevicePlugin + var NewRenderPlugin = gvc.NewRenderPlugin + var PNGDevicePlugin = gvc.PNGDevicePlugin + var PNGRenderPlugin = gvc.PNGRenderPlugin + var ParseBytes = cgraph.ParseBytes + var ParseFile = cgraph.ParseFile + var RenderColorType = gvc.WithRenderColorType + var RenderFeatures = gvc.WithRenderFeatures + var RenderPAD = gvc.WithRenderPAD + var RenderQuality = gvc.WithRenderQuality + var SetFontLoader = gvc.SetFontLoader + var StrictDirected = cgraph.StrictDirected + var StrictUnDirected = cgraph.StrictUnDirected + var UnDirected = cgraph.UnDirected + func SetFileSystem(fs fs.FS) + type ArrowType = cgraph.ArrowType + type Attribute = cgraph.Attr + type CallbackStack = cgraph.CallbackStack + type ClientDiscipline = cgraph.Disc + type ClusterMode = cgraph.ClusterMode + type Color = gvc.Color + type ColorType = gvc.ColorType + type CommonFields = cgraph.CommonFields + type Context = gvc.Context + type DataDict = cgraph.DataDict + type DefaultRenderEngine = gvc.DefaultRenderEngine + type DeviceFeature = gvc.DeviceFeature + type DevicePlugin = gvc.DevicePlugin + type DevicePluginOption = gvc.DevicePluginOption + type Dict = cdt.Dict + type DictData = cdt.Data + type DictDisc = cdt.Disc + type DictHold = cdt.Hold + type DictLink = cdt.Link + type DictMethod = cdt.Method + type DictStat = cdt.Stat + type DirType = cgraph.DirType + type Edge = cgraph.Edge + type EdgeStyle = cgraph.EdgeStyle + type FillType = gvc.FillType + type Format string + const JPG + const PNG + const SVG + const XDOT + type Graph = cgraph.Graph + type GraphDescriptor = cgraph.Desc + type GraphOption func(g *Graphviz) + func WithDirectedType(desc *GraphDescriptor) GraphOption + func WithName(name string) GraphOption + type GraphStyle = cgraph.GraphStyle + type Graphviz struct + func New(ctx context.Context) (*Graphviz, error) + func NewWithPlugins(ctx context.Context, plugins ...Plugin) (*Graphviz, error) + func (g *Graphviz) Close() error + func (g *Graphviz) Graph(option ...GraphOption) (*Graph, error) + func (g *Graphviz) Render(ctx context.Context, graph *Graph, format Format, w io.Writer) (e error) + func (g *Graphviz) RenderFilename(ctx context.Context, graph *Graph, format Format, path string) (e error) + func (g *Graphviz) RenderImage(ctx context.Context, graph *Graph) (img image.Image, e error) + func (g *Graphviz) SetLayout(layout Layout) *Graphviz + type ID = cgraph.ID + type ImagePos = cgraph.ImagePos + type Job = gvc.Job + type JustType = cgraph.JustType + type LabelLocation = cgraph.LabelLocation + type LabelType = gvc.LabelType + type Layout string + const CIRCO + const DOT + const FDP + const NEATO + const NOP + const NOP1 + const NOP2 + const OSAGE + const PATCHWORK + const SFDP + const TWOPI + type ModeType = cgraph.ModeType + type ModelType = cgraph.ModelType + type Node = cgraph.Node + type NodeStyle = cgraph.NodeStyle + type Object = cgraph.Object + type ObjectState = gvc.ObjectState + type ObjectTag = cgraph.ObjectTag + type OrderingType = cgraph.OrderingType + type OutputMode = cgraph.OutputMode + type PackMode = cgraph.PackMode + type PageDir = cgraph.PageDir + type PenType = gvc.PenType + type Plugin = gvc.Plugin + type PointFloat = gvc.PointFloat + type PostScriptAlias = gvc.PostScriptAlias + type QuadType = cgraph.QuadType + type RankDir = cgraph.RankDir + type RatioType = cgraph.RatioType + type Record = cgraph.Record + type RenderEngine = gvc.RenderEngine + type RenderFeature = gvc.RenderFeature + type RenderPlugin = gvc.RenderPlugin + type RenderPluginOption = gvc.RenderPluginOption + type Scale = gvc.Scale + type Shape = cgraph.Shape + type SmoothType = cgraph.SmoothType + type StartType = cgraph.StartType + type State = cgraph.State + type SubNode = cgraph.SubNode + type Symbol = cgraph.Symbol + type Tag = cgraph.Tag + type TextFont = gvc.TextFont + type TextSpan = gvc.TextSpan + type Translation = gvc.Translation