2022-11-23 10:49:52AM
This commit is contained in:
parent
10492da059
commit
37cd6125e7
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ graph, _ = d2oracle.Set(graph, "meow.style.fill", nil, &color)
|
||||||
graph, _, _ = d2oracle.Create(graph, "cat")
|
graph, _, _ = d2oracle.Create(graph, "cat")
|
||||||
// Move the shape "meow" inside the container "cat"
|
// Move the shape "meow" inside the container "cat"
|
||||||
graph, _ = d2oracle.Move(graph, "meow", "cat.meow")
|
graph, _ = d2oracle.Move(graph, "meow", "cat.meow")
|
||||||
// Prints formatted D2 code
|
// Prints formatted D2 script
|
||||||
println(d2format.Format(graph.AST))
|
println(d2format.Format(graph.AST))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue