Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTo ¶
func RenderTo(graph gographviz.Graph, path string)
RenderTo renders a graphviz graph as a PNG file at the given path using the `dot` command
Types ¶
type RenderableGraph ¶
type RenderableGraph interface { GetNodes() []RenderableGraphNode GetEdges() []RenderableGraphEdge }
RenderableGraph interface that should be implemented by different types representing graphs.
type RenderableGraphEdge ¶
RenderableGraphEdge is an interface for edges within a Graph.
type RenderableGraphNode ¶
type RenderableGraphNode interface {
GetID() string
}
RenderableGraphNode is an interface for nodes within a Graph.
Click to show internal directories.
Click to hide internal directories.