Replies: 1 comment
-
|
It's just one by one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can do
graph, _ = d2oracle.Set(graph, nil, "test node", nil, go2.Pointer("red"))which will addstyle.fill: redinto the output d2 file.I can't figure out how to add a whole group of attributes to be set all at once e.g. I can put this in the d2 file and it will change all the attributes
But using d2oracle.Set, I can only figure out how to do it individually line by line, which is a lot of work (and lines) e.g. style.stroke, style.fone-color etc.
I'm guessing it ought to be something very obvious that I missed.
Beta Was this translation helpful? Give feedback.
All reactions