public MainWindow()
        {
            InitializeComponent();

            _graphSource           = new TablesGraphSource();
            tlrDiagram.GraphSource = _graphSource;
        }
        public Example()
        {
            DiagramConstants.RoutingGridSize = 40d;
            DiagramConstants.ContainerMargin = 0d;
            InitializeComponent();

            this.fileManager = new Controls.Diagrams.Extensions.FileManager(this.diagram);
            this.DataContext = this.dc = new TablesGraphSource();
            var newRouter = new AStarRouter(this.diagram) { WallOptimization = true };
            this.diagram.RoutingService.Router = newRouter;
            this.diagram.RoutingService.FreeRouter = newRouter;
            this.Loaded += this.OnLoaded;
        }