digraph: fix docs

This commit is contained in:
Mitchell Hashimoto 2014-07-14 12:10:26 -07:00
parent 6c8c09c784
commit 7e60a20494
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import (
"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.
func WriteDot(w io.Writer, nodes []Node) error {
w.Write([]byte("digraph {\n"))