@maxgraph/core
    Preparing search index...

    Variable StyleDefaultsConfigConst Experimental

    StyleDefaultsConfig: {
        arrowSize: number;
        arrowSpacing: number;
        arrowWidth: number;
        fontFamily: string;
        fontSize: number;
        imageSize: number;
        lineArcSize: number;
        markerSize: number;
        roundingFactor: number;
        shadowColor: string;
        shadowOffsetX: number;
        shadowOffsetY: number;
        shadowOpacity: number;
        startSize: number;
    } = ...

    Configure style defaults for maxGraph.

    subject to change or removal. maxGraph's global configuration may be modified in the future without prior notice.

    Type Declaration

    • arrowSize: number

      Defines the size (in px) of the arrowhead in the arrow shape.

      ARROW_SIZE

      0.22.0

    • arrowSpacing: number

      Defines the spacing (in px) between the arrow shape and its terminals.

      0.22.0

    • arrowWidth: number

      Defines the width (in px) of the arrow shape.

      ARROW_WIDTH

      0.22.0

    • fontFamily: string

      Defines the default family for all fonts.

      0.22.0

    • fontSize: number

      Defines the default size (in px).

      0.22.0

    • imageSize: number

      Defines the default width and height (in px) for images used in the label shape.

      0.22.0

    • lineArcSize: number

      Defines the default size (in px) of the arcs for the rounded edges. See CellStateStyle.arcSize.

      LINE_ARCSIZE

      0.22.0

    • markerSize: number

      Defines the default size (in px) for all markers.

      0.22.0

    • roundingFactor: number

      Defines the default rounding factor for the rounded vertices in percent between 0 and 1. Values should be smaller than 0.5. See CellStateStyle.arcSize.

      0.22.0

    • shadowColor: string

      Defines the color to be used to draw shadows in shapes and windows.

      SHADOWCOLOR

    • shadowOffsetX: number

      Specifies the x-offset of the shadow.

    • shadowOffsetY: number

      Specifies the y-offset of the shadow.

    • shadowOpacity: number

      Defines the opacity for shadow. Possible values are between 1 (opaque) and 0 (transparent).

    • startSize: number

      Defines the default start size (in px) for swimlanes.

      0.22.0

    0.14.0