graph/encoding/dot: refactor quoting docs (#797)

This commit is contained in:
Dan Kortschak
2019-01-14 22:41:29 +10:30
committed by Robin Eklind
parent 24f0d081ca
commit bb6edb12aa
4 changed files with 11 additions and 17 deletions

View File

@@ -11,4 +11,11 @@
//
// DOT grammar: http://www.graphviz.org/doc/info/lang.html
//
// Attribute quoting
//
// Attributes and IDs are quoted if needed during marshalling, to conform with
// valid DOT syntax. Quoted IDs and attributes are unquoted during unmarshaling,
// so the data is kept in raw form. As an exception, quoted text with a leading
// `"<` and a trailing `>"` is not unquoted to ensure preservation of the string
// during a round-trip.
package dot // import "gonum.org/v1/gonum/graph/encoding/dot"