///<summary>Create a <c>PartialLayout</c> using the selected demo settings</summary>
        private yWorks.Layout.Partial.PartialLayout CreateConfiguredPartialLayout()
        {
            var subGraphLayout = SubGraphLayouts[(string)handler.GetItemByName(SubgraphLayout).Value];

            ConfigureCoreLayout(subGraphLayout);
            var partialLayout = new yWorks.Layout.Partial.PartialLayout
            {
                ComponentAssignmentStrategy =
                    (ComponentAssignmentStrategy)handler.GetItemByName(ComponentAssignment).Value,
                CoreLayout        = subGraphLayout,
                SubgraphPlacement =
                    (SubgraphPlacement)handler.GetItemByName(SubgraphPositioning).Value,
                EdgeRoutingStrategy = (EdgeRoutingStrategy)handler.GetItemByName(EdgeRouting).Value,
                LayoutOrientation   =
                    (LayoutOrientation)handler.GetItemByName(LayoutOrientationStrategy).Value,
                MinimumNodeDistance   = (int)handler.GetItemByName(MinimumNodeDistance).Value,
                AllowMirroring        = (bool)handler.GetItemByName(AllowMirroring).Value,
                ConsiderNodeAlignment = (bool)handler.GetItemByName(NodeSnapping).Value
            };

            return(partialLayout);
        }