Definition of a connector's color, width and outline.

interface PaintStyle {
    dashstyle?: string;
    fill?: string;
    outlineStroke?: string;
    outlineWidth?: number;
    stroke?: string;
    strokeWidth?: number;
}

Hierarchy (view full)

Properties

dashstyle?: string

Dash style for the path, in the format discussed here https://developer.mozilla.org/en-US/docs/Web/CSS/stroke-dasharray.

fill?: string

For overlays and endpoints, the color to use to fill the SVG shape

outlineStroke?: string

The color to use for path outline.

outlineWidth?: number

The width of the outline. The value here should indicate how much of an outline you want on each side of the path, not the total width of the outline.

stroke?: string

The color to use to stroke the SVG path.

strokeWidth?: number

The width of the path.

Version :