Skip to main content

defaultLinkType

the default type of a connector line

defaultLinkType?: "line" | "dash";
Default value: "line"

Example

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

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

Setting connections between shapes