2022-11-23 10:49:52AM

This commit is contained in:
Alexander Wang 2022-11-23 10:49:52 -08:00
parent 10492da059
commit 37cd6125e7
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -151,7 +151,7 @@ graph, _ = d2oracle.Set(graph, "meow.style.fill", nil, &color)
graph, _, _ = d2oracle.Create(graph, "cat")
// Move the shape "meow" inside the container "cat"
graph, _ = d2oracle.Move(graph, "meow", "cat.meow")
// Prints formatted D2 code
// Prints formatted D2 script
println(d2format.Format(graph.AST))
```