This interface represents the CommonOptions for setting output format.

interface CommonOptions {
    attributes?: {
        edge?: EdgeAttributesObject;
        graph?: GraphAttributesObject & SubgraphAttributesObject;
        node?: NodeAttributesObject;
    };
    dotCommand?: string;
    format?: Format.values;
    library?: string[];
    scale?: number;
    suppressWarnings?: boolean;
    y?: boolean;
}

Properties

attributes?: {
    edge?: EdgeAttributesObject;
    graph?: GraphAttributesObject & SubgraphAttributesObject;
    node?: NodeAttributesObject;
}

Type declaration

dotCommand?: string

Path of graphviz dot command.

format?: Format.values

Set output format.

Default

'svg'
library?: string[]

Use external library.

scale?: number

Scale input

suppressWarnings?: boolean

If true, set level of message suppression (=1).

Default

true
y?: boolean

Invert y coordinate in output.

Generated using TypeDoc