Skip to main content

defaultLinkType

Description

Optional. The default type of a connector line

The value is applied, if the line object doesn't contain the "type" property

Usage

defaultLinkType?: "line" | "dash";

Default config

defaultLinkType: "line" 

Example

const diagram = new dhx.Diagram("diagram_container", { 
defaultLinkType: "dash"
});

Related articles: Setting connections between shapes