lineGap
danger
Starting from version 5.0, the lineGap
property is deprecated and no longer supported. Instead, you need to use the lineGap parameter of the lineConfig property.
info
The property is available only in the default mode of the diagram (type:"default").
Description
Optional. Sets the distance to the right-angled bend of a connector line
Usage
lineGap?: number;
Default config
lineGap: 10
Example
const diagram = new dhx.Diagram("diagram_container", {
lineGap: 50
});
The result of applying the lineGap property is shown in the image below:
Related sample: Diagram. Default mode. Activity diagram