Diagram nodes not bunching up on left hand side

Hi

I'm drawing a diagram and the nodes on the left hand side are not as bunched up as those on the right side. Is there a way to change this.


See attached, 



5 Replies

NG Naganathan Ganesh Babu Syncfusion Team July 24, 2018 10:43 AM UTC

Hi Steve, 
 
Thanks for contacting Syncfusion support. 
 
Please confirm us whether you need to render node in left side which has the child count is greater than the right side of the node (please refer to the below screenshot)? If so, we will validate your requirement once you have confirmed.  
 
Current Behavior  
Expected behavior  
 
 
 
If we misunderstood your requirement, please share us more information about your requirement such as details of how you are expected to render the layout in diagram control? 
 
Regards, 
 
Naganathan K G 



ST Steve July 24, 2018 03:56 PM UTC

Hi

So on the diagram you will notice that where I have indicated with the blue scribble the gap between the right edge of 3.1.1.2.3 and the left edge of 3.1.1.1.1 is wider than that of 3.2.1.1.1.2 and 3.2.1.1.2.1


Also 3.1.1.1 is further away from 3.1.1 and 3.1.1.2.1

It's almost as though the left most nodes have been drawn to far to the left.

I've pasted another example

Both those in red show gaps that are wider than those in blue.

So nodes 3.1.1.1 and 3.1 need to be 'nudged' to the right, thus closing the gap

Hope this helps. 




NG Naganathan Ganesh Babu Syncfusion Team July 25, 2018 10:11 AM UTC

Hi Steve, 
 
We have considered it as an issue with “Spacing problem in updating the Hierarchical layout” and we will include this issue in our main release volume 3 which will available in mid of September, 2018. 
 
However, we suggest you use DirectedTreeLayoutManager instead of HierarchicalLayoutManager to achieve your requirement if you are not using  multiple parent layout in your project. 
 
Regards, 
 
Naganathan K G 



ST Steve July 25, 2018 10:55 AM UTC

Hi 

That has fixed it DirectedTreeLayoutManager works fine. I will never need a requirement for multiple parents. It maybe that if you have this, then the 'bug' would  not be replicated.

Thanks

Steve


NG Naganathan Ganesh Babu Syncfusion Team July 26, 2018 10:01 AM UTC

Hi Steve, 
 
Thanks for your update. 
 
That has fixed it DirectedTreeLayoutManager works fine 
We are happy to hear that your problem is resolved. Please let us know if you need any further assistance.  
 
 I will never need a requirement for multiple parents. It maybe that if you have this, then the 'bug' would  not be replicated. 
As promised, we will fix the issue with “Spacing problem in updating the Hierarchical layout” and include this fix in our volume 3 which will available on mid of September, 2018. 
 
Regards, 
 
Naganathan K G 


Loader.
Up arrow icon