ci/release/changelogs/v0.6.0.md
D2 v0.6 introduces variable substitutions and globs. These two were the last of the features planned in the initial designs for D2, and v1 is now very close!
The power of variables and globs in a programming language need no introduction, so here's two minimal examples to get started:
Variables:
vars: {
color: aquamarine
}
x.style.fill: ${color}
Globs:
x
y
z
*.style.fill: aquamarine
Both are live on D2 Playground so give it a try! Looking forward to your issues and iterating
Layout capability also takes a subtle but important step forward: you can now customize the position of labels and icons.
--scale flag #1413null keyword can be used to un-declare. See docs #1446--watch) #1503shape is given a composite #1415DEBUG environment variable ignored if set incorrectly #1505