Hi, I ran into an issue with importing diagrams and variable scoping:
template.d2
env: {
label: ${env} Environment
vm: {
label: My Virtual machine!
}
}
environments.d2
dev: {
vars: {
env: Dev
}
[email protected]
}
qa: {
vars: {
env: Qa
}
[email protected]
}
I'd expect this to render with "Qa" and "Dev" in each respective environment, instead "Dev" is used on both diagrams!