Hi Senthil,
The suggested settings made in the diagram but still the nodes/cards are appearing too wider. The nodes were organized nicely(highlighted with green box) when a node has more parent and child nodes combination. It spreads too widely(scribbled in blue) when it has less child nodes.
The following settings we've tried:
#1 Fit2Page
<DiagramPageSettings>
<DiagramFitOptions CanFit="true" Mode="@FitModes.Width" CanZoomIn="true"></DiagramFitOptions>
</DiagramPageSettings>
#2 Tried the scroll settings by having and removing - both result in no luck. ( and also tried with scrollArea too but not reducing the space)
<DiagramScrollSettings HorizontalOffset="10" VerticalOffset="10" ScrollLimit="ScrollLimit.Limited"></DiagramScrollSettings>
#3 Layout settings - horizontal spacing
LayoutValue = new DiagramLayout()
{
///Type = LayoutType.ComplexHierarchicalTree,
Type = LayoutType.OrganizationalChart,
//Margin = new LayoutMargin() { Top = .5 },
VerticalSpacing = 40,
HorizontalSpacing = 5,
//EnableAnimation = false,
HorizontalAlignment = HorizontalAlignment.Left,
Orientation = LayoutOrientation.TopToBottom,
//Arrangement = ChildArrangement.Nonlinear,
LayoutInfo = new TreeInfo()
{
//Create the layout info
CanEnableSubTree = false,
//Specify the sub-tree orientation
Orientation = SubTreeOrientation.Horizontal
}
};
Please assist and suggest to shrink the extra space.
First part of diagram:
Second part of the diagram: