Documentation
¶
Index ¶
- func CloseGraph(g *graphviz.Graphviz, graph *cgraph.Graph)
- func OutputAsJson(path string, tree *tree.TreeNode) error
- func OutputInShell(t *tree.TreeNode)
- func RenderGraph(file string, t tree.TreeNode, g *graphviz.Graphviz, graph *cgraph.Graph, ...) error
- func RenderGraphToFile(file string, g *graphviz.Graphviz, graph *cgraph.Graph, format graphviz.Format) error
- func RenderOutput(file string, format string, t tree.TreeNode, g *graphviz.Graphviz, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseGraph ¶
CloseGraph is used to close the given graph objects.
func OutputAsJson ¶
OutputAsJson is used to render a TreeNode to a file in json
func OutputInShell ¶
OutputInShell is used to print the content of a treeNode in the shell
func RenderGraph ¶
func RenderGraph(file string, t tree.TreeNode, g *graphviz.Graphviz, graph *cgraph.Graph, format graphviz.Format) error
RenderGraph is used to render a graphic to a file after generating the tree edges. Each node of the given TreeNode will be linked to it's parent node.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.