isCurveLink

checks whether the provided link is curved

boolean isCurveLink(object link);
linkobjectthe link object
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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.