This interface describes an optional parameter called "layout" which is used to set a layout engine. The default value for this parameter is 'dot', and it must be an option of the Layout type, excluding 'neato' and 'fdp'.

interface OtherOptions {
    layout?: "dot" | "sfdp" | "circo" | "twopi" | "nop" | "nop2" | "osage" | "patchwork" | "my-custom-algorithm";
}

Properties

Properties

layout?: "dot" | "sfdp" | "circo" | "twopi" | "nop" | "nop2" | "osage" | "patchwork" | "my-custom-algorithm"

Set layout engine.

Default

'dot'

Generated using TypeDoc