Skip to main content

lineGap

info

The property is available only in the default mode of the editor (type:"default"). The property does not work if you use groups or swimlanes.

Description

Optional. Adds an offset for two connected shapes, and fills the gap with an additional line

Usage

lineGap?: number;

Default config

lineGap: 10

Example

const editor = new dhx.DiagramEditor("editor_container", {
lineGap: 50
});

The result of applying the lineGap property is shown in the image below: