| 1 | // Copyright ©2017 The Gonum Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // Package dot implements GraphViz DOT marshaling and unmarshaling of graphs. |
| 6 | // |
| 7 | // See the GraphViz DOT Guide and the DOT grammar for more information |
| 8 | // on using specific aspects of the DOT language: |
| 9 | // |
| 10 | // DOT Guide: https://www.graphviz.org/pdf/dotguide.pdf |
| 11 | // |
| 12 | // DOT grammar: http://www.graphviz.org/doc/info/lang.html |
| 13 | // |
| 14 | // # Attribute quoting |
| 15 | // |
| 16 | // Attributes and IDs are quoted if needed during marshalling, to conform with |
| 17 | // valid DOT syntax. Quoted IDs and attributes are unquoted during unmarshaling, |
| 18 | // so the data is kept in raw form. As an exception, quoted text with a leading |
| 19 | // `"<` and a trailing `>"` is not unquoted to ensure preservation of the string |
| 20 | // during a round-trip. |
| 21 | package dot // import "gonum.org/v1/gonum/graph/encoding/dot" |