D2LayoutEngineSpec

Properties

Link copied to clipboard
abstract val dagre: D2DagreSpec

Configure DAGRE layout engine for the output chart. This is the default engine.

Link copied to clipboard
abstract val elk: D2ElkSpec

Configure ELK layout engine for the output chart.

Link copied to clipboard
abstract val layoutEngine: Property<LayoutEngine>
Link copied to clipboard
abstract val tala: D2TalaSpec

Configure TALA layout engine for the output chart. This is probably not installed on your machine, but if it is you can call D2TalaSpec.put to apply custom config properties.

Functions

Link copied to clipboard
abstract fun dagre(config: Action<D2DagreSpec>? = null)
Link copied to clipboard
abstract fun elk(config: Action<D2ElkSpec>? = null)
Link copied to clipboard
abstract fun tala(config: Action<D2TalaSpec>? = null)