-
I was wondering if it's possible to create empty containers. For example here, "a", "b", and "c" are siblings, but with different levels of details: I'm curious if it's possible to make "c" look the same as "a" and "b" (same border and background), even though there are no subcomponents defined inside. Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
alixander
Mar 30, 2023
Replies: 1 comment 2 replies
-
@dsech Oh hmmm. two options: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dsech
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dsech Oh hmmm. two options:
Style it the same: https://play.d2lang.com/?script=VJExCsMwDEV3neKRzgUnU9HQLblHnGRrCdT2VHz3YokWdxHiIfE_vFV5CzzPvTwO3yGV6ECgShWJ_VUDmwPr8P36E6jkVzmM996U_czph5XhMs_LuNwGiwIrpUwhCLgrZZxCC1253oltbPIJAAD__w%3D%3D&sketch=1&theme=300&layout=dagre&
Put a hidden child inside: https://play.d2lang.com/?script=SrRSqOZSUMjNTynNSYWwFRSKS5MgAlwKCrVctVxcSciqQALJEIGMzJSU1Dw9sFP0oKFipWAAUpGooGunkAQikrkAAQAA__8%3D&sketch=1&theme=300&layout=dagre&