d2
d2 copied to clipboard
content of NOTE is lost in sequence_diagram.
i can read the NOTE.
shape: sequence_diagram;
a
b
b{
NOTE:'foobar'
}
i can not read the NOTE.
shape: sequence_diagram;
a
b
b{
NOTE:'foobar'
}
a -> b.NOTE
expected
i believe this is due to the way SPAN is described c.f. https://github.com/terrastruct/d2/issues/2095#issuecomment-2351236792
Notes are children with no connections. That's the rules. If you add a connection to it, it becomes a span. This conforms to the rules