isCurveLink

checks whether the provided link is curved

boolean isCurveLink(object link);

Parameters

linkobjectthe link object

Returns

booleantrue if the link is curved

Example

$$("diagram").isCurveLink(link);

Details

The method checks the link mode - if the mode is set to "curve", returns true.

Back to top