Open alixander opened 11 months ago
i am confused
a{ style.font-color: darkgreen; style.stroke: darkgreen; style.fill: honeydew; }
b{ style.font-color: red; style.stroke: red; style.fill: mistyrose; }
c
#a:null
*->y
(b->y)[*]:null
#a:null
a{ style.font-color: darkgreen; style.stroke: darkgreen; style.fill: honeydew; }
b{ style.font-color: red; style.stroke: red; style.fill: mistyrose; }
c
a:null
*->y
(b->y)[*]:null
#a:null
a{ style.font-color: darkgreen; style.stroke: darkgreen; style.fill: honeydew; }
b{ style.font-color: red; style.stroke: red; style.fill: mistyrose; }
c
#a:null
*->y
(b->y)[*]:null
a:null
this is an issue for d2oracle, the golang library for programmatically changing d2 diagrams with code: https://d2lang.com/tour/api/
what happens if
* -> y
, and you delete one the edges? It shouldn't change the glob, it should null the edge.What about adding a new object? i suppose the glob rules can also by default apply to it on creation