We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Connector only connected with ports

Thread ID:

Created:

Updated:

Platform:

Replies:

119677 Jul 21,2015 08:17 AM UTC Jul 22,2015 06:21 AM UTC JavaScript 1
loading
Tags: ejDiagram
Myungjin Cho
Asked On July 21, 2015 08:17 AM UTC

Will it  be possible to give constraints to the connector  
so the connector can only be connected with the ports and not the node? 
Or Is it the node that I have to give constraints to? 

P.S  Always Grateful for  syncfusion's timely support. 

Shyam G [Syncfusion]
Replied On July 22, 2015 06:21 AM UTC

Hi Maverick

Thanks for using Syncfusion products.

Please note that by default, the connect NodeConstraints is added to the NodeConstraints.Default. So we suggest you to remove the  connect NodeConstraints from the NodeConstraints.Default in order to achieve your requirement. Please refer the code snippet and sample below.

Code snippet:

<div id="diagram"></div>

 $("#diagram").ejDiagram({

            nodes: [

            { name: "node1", constraints: ej.datavisualization.Diagram.NodeConstraints.Default & ~(ej.datavisualization.Diagram.NodeConstraints.Connect) },

 
        });

Sample:http://www.syncfusion.com/downloads/support/forum/119677/ze/Diagram-26026107

Please let me know if any concerns.

Regards,
Shyam G


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;