Overview fails to update label positions

Hi there, while Overview is a really great thing, in my case it fails to displace the node label when the node is displaced by the user. Please see e.g. the leftmost node. Please advise.



9 Replies

SG Shyam G Syncfusion Team May 18, 2018 09:16 AM UTC

Hi Gyorgy Gorog, 
 
We have created a sample with diagram and overview in which we have rendered the radial tree layout with label’s and the position of labels working fine. Could you please provide us more details such as sample or JSON Data or modify the below sample. 
 
 
Regards, 
Shyam G 



GG Gyorgy Gorog May 22, 2018 08:34 AM UTC

Shyam, thanks for the update.
However you are being tricky with me: I am complaining about moving a node, you provide an example where the nodes are not selectable and movable :)
Problem is, I am unable to make them selectable and movable in the example, even if
defaultSettings: {
                        node: {
                            width: 50, height: 50, labels: [{ offset: { x: 0.5, y: 1.2}, fontSize: 16 }],
                            constraints: ej.datavisualization.Diagram.NodeConstraints.All,
                            allowSelect: true, allowMove: true, allowDrag: true, Selectable: true
                        },
the diagram remains rigid. I am not a JS fan :) as perhaps evident from this. 
Please make the nodes movable (and I will learn how to do that :) and let's see if the overview control updates the label positions.




SG Shyam G Syncfusion Team May 23, 2018 09:40 AM UTC

Hi Gyorgy Gorog, 

By default, the diagram nodes and connectors can interacted at runtime unless if you set any constraints in Nodes/Connectors. However, you can set NodeConstraints Default property to perform interaction for nodes. please refer to the sample below and help documentation to know more about node constraints. 



Regards, 
Shyam G 



GG Gyorgy Gorog May 23, 2018 01:08 PM UTC

Shyam, your example is still rigid even if 

defaultSettings: {
                        node: {
                            width: 50, height: 50, labels: [{ offset: { x: 0.5, y: 1.2}, fontSize: 16 }],
                            constraints: ej.datavisualization.Diagram.NodeConstraints.Default
                        },
                        connector: { constraints: ej.datavisualization.Diagram.ConnectorConstraints.None },

could you modify your example https://jsplayground.syncfusion.com/znttnszy to let the nodes be moved separately, so that we could see how the Overview oerforms?


SG Shyam G Syncfusion Team May 24, 2018 08:29 AM UTC

Hi Gyorgy Gorog, 
 
We have logged “Nodes label are not moved in overview while interacting with nodes in diagram” as a defect. The fix for this issue is estimated to be available on volume 2 sp1 release which is scheduled to release by end of June,2018. 
 
Regards, 
Shyam G 



GG Gyorgy Gorog May 24, 2018 09:06 AM UTC

Fine, thanks for the effort.


SG Shyam G Syncfusion Team May 25, 2018 10:05 AM UTC

Hi Gyorgy Gorog,  
  
As promised, the reported issue “Nodes label are not moved in overview while interacting with nodes in diagram will be available in our volume 2 sp1 release which is scheduled to release by end of June,2018.  
  
Regards,  
Shyam G  



GG Gyorgy Gorog July 18, 2018 10:44 AM UTC

Shyam, it seems it didn't make it to this release. Please confirm.


NG Naganathan Ganesh Babu Syncfusion Team July 19, 2018 12:45 PM UTC

Hi Gyorgy Gorog, 
Sorry for the inconvenience caused.  
The volume 2 sp1 is not yet released and it is expected to be released by end of July, 2018. 
Regards, 
Naganathan K G  


Loader.
Up arrow icon