Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sequence_diagram] strange output #2046

Open
bo-ku-ra opened this issue Aug 6, 2024 · 0 comments
Open

[sequence_diagram] strange output #2046

bo-ku-ra opened this issue Aug 6, 2024 · 0 comments

Comments

@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Aug 6, 2024

why not 'a' to 'b'?

shape: sequence_diagram

a
b

a -> b: ok

aa: {
  a -> b: ok
}

a.a -> b.b: ok

aaa: {   # 'aaa' 
style.font-color: red; style.stroke: red; style.fill: mistyrose;
  a.a -> b.b: ok
}

a.a -> b: ok

a.aaa -> b: ???{style.font-color: red; style.stroke: red; style.fill: mistyrose;} # 'aaa' again.
a.bbb -> b: ok

https://play.d2lang.com/?script=bM5BCoMwEIXh_ZxioAtX5gAR6lHKi442GE2bpAsR716k1Sp1OT8Pvol3PERzlOdLhkputUUb0BOBDBE4v7LR7DsiQPNEzLs2E0F9brWtlhlfOAOQEXNMoxPV-CHllXc-aA5Sbz2m4Ds5tsY6p7m3MY3BR1nII7Jjv6gC1rssS55O0eLfLM7Jef2f0cIOBGWM-XnvAAAA__8%3D&

@cyborg-ts cyborg-ts added this to D2 Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant