mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 23:52:47 +08:00
encoding/dot: make all simple graph marshalling strict
Also fix bug in order of emitting strict keyword.
This commit is contained in:

committed by
Dan Kortschak

parent
cc0c958a30
commit
609b9d63e8
@@ -32,7 +32,7 @@ func ExamplePorter() {
|
||||
toPort: "p2",
|
||||
})
|
||||
|
||||
result, _ := dot.Marshal(g, "", "", " ", true)
|
||||
result, _ := dot.Marshal(g, "", "", " ")
|
||||
fmt.Print(string(result))
|
||||
|
||||
// Output:
|
||||
|
Reference in New Issue
Block a user