I am showing an organization hierarchy using diagram. The problem i am facing is that when i hierarchy size increases it the diagram doesn't show completely. I know that changing logical size of model will adjust this but when small hierarchy comes then a lot of spaces is empty in diagram .
So i want that the logical size of model is adjusted based on the heirarchy size which is generated from database.
AKAshok Kumar V Syncfusion Team November 6, 2013 11:16 AM UTC
Hi Muneeb Ahmed,
Thanks for your interest in Syncfusion product,
We suggest you to set diagram.Model’s “SizeToContent”
to true and diagram.Model’s “BoundaryConstraintsEnabled”
to false in order to achieve your requirement. Please refer the below
code snippet for your reference: