public MainPage()
        {
            InitializeComponent();

            SetupGraphControl();

            GraphControlSilverlight.Graph.Name = "GraphControl Test";
            CreateInitialGraph(GraphControlSilverlight.Graph);
            GraphControlSilverlight.BeginLayoutWithConstraints();

            DGraph.Name = "DGraph Test";
            CreateInitialGraph(DGraph);
            DGraph.BeginLayout();

            GraphControlForClusters.Graph.Name = "Clusters";
            CreateClusteredGraph();

            GraphControlForClusters_Complex.Name = "Complex Clusters";
            CreateComplexClusteredGraph();

            GraphControlForNesting.Graph.Name = "Nesting";
            CreateNestedGraph();

            GraphControlForNesting_Complex.Name = "Complex Nesting";
            CreateComplexNestedGraph();
            //*/
            //CreateGraphFromGeometry();
        }
        public MainPage()
        {
            InitializeComponent();

            SetupGraphControl();

            CreateInitialGraph(GraphControlSilverlight.Graph);
            CreateInitialGraph(DGraph);

            GraphControlSilverlight.BeginLayoutWithConstraints();
            DGraph.BeginLayout();
        }