Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

From running d2 layout dagre in the CLI

Link copied to clipboard

CLI configuration options, found from running d2 layout elk in the CLI.

Link copied to clipboard

Use this for any arbitrary global properties that you want to apply to all charts. These properties will be appended to the bottom of the chart. Chances are, you'll want to use some globs in here, so make sure to read the D2 docs on those.

Link copied to clipboard
Link copied to clipboard

Style specs from the D2 docs, applied to the link between two modules. See D2PropertiesSpec for the available options, shared between links and modules.

Link copied to clipboard

Style specs from https://d2lang.com/tour/style, applied to the shape matching this module type.

Link copied to clipboard

A set of properties from https://d2lang.com/tour/style - applicable to both D2ModuleTypeSpec and D2LinkTypeSpec.

Link copied to clipboard

https://d2lang.com/tour/style/#root

Link copied to clipboard
interface D2Spec : AtlasSpec

Used to configure D2 output from Atlas. For barebones output to a .d2 file, you can just add the "dev.jonpoulton.atlas.d2" gradle plugin. Or for a more fleshed-out config:

Link copied to clipboard

Not installed in the default D2 installation so this won't normally work, unless you have a custom build of D2.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard