digraph: fix docs
This commit is contained in:
parent
6c8c09c784
commit
7e60a20494
|
@ -5,7 +5,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GenerateDot is used to emit a GraphViz compatible definition
|
// WriteDot is used to emit a GraphViz compatible definition
|
||||||
// for a directed graph. It can be used to dump a .dot file.
|
// for a directed graph. It can be used to dump a .dot file.
|
||||||
func WriteDot(w io.Writer, nodes []Node) error {
|
func WriteDot(w io.Writer, nodes []Node) error {
|
||||||
w.Write([]byte("digraph {\n"))
|
w.Write([]byte("digraph {\n"))
|
||||||
|
|
Loading…
Reference in New Issue