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.
Unfortunately, activation email could not send to your email. Please try again.

Problems with ejDiagram control

Thread ID:

Created:

Updated:

Platform:

Replies:

126256 Oct 4,2016 08:46 AM Oct 20,2016 02:13 AM JavaScript 3
loading
Tags: ejDiagram
Karol Wlodarek
Asked On October 4, 2016 08:46 AM

Hi,

I've got several problems with your ejDiagram control. First of all, connectors sometimes change their positions when you color the blocks. The second problem is that when you use irregular shaped block, the connector is attached to the rectangle taken by the block, not to the block itself. The last problem is that some blocks, for example "DataSource" disappear when you change its color.

Additionally I enclose jsplaygroundand and video with example of this situation:

Thanks in advance for solving my problem.

Shyam G [Syncfusion]
Replied On October 5, 2016 06:43 AM

Hi Karol, 
 
You have passed an entire node in the updateNode method instead of passing a node’s properties(example:fillColor) alone in it. We have modified your code example to resolve your reported issue. 
 
Code example: 
    function changeFillColor() { 
        diagram = getDiagramObj(); 
        var color = $("#sb-input-colorPicker").ejColorPicker("getValue"); 
        diagram.updateNode(currentNode.name, { fillColor: color }); 
    } 
 
 
 
Regards, 
Shyam G 


Karol Wlodarek
Replied On October 19, 2016 07:49 AM

Thanks for answer.
It works correctly.

Regards, 
Karol

Shyam G [Syncfusion]
Replied On October 20, 2016 02:13 AM

Hi Karol, 
Thanks for your update.  
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.

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.

;