public StoryNodesHierarchyViewPanel(StoryNodesPanel storyNodesPanel)
        {
            InitializeComponent();

            this.storyNodesPanel = storyNodesPanel;
            this.window = storyNodesPanel.Window;

            this.controller = new _Controller(this);
            this.DataContext = this.Controller;

            this.storyNodesPanel.Controller.PropertyChanged += Controller_PropertyChanged;
        }
        private void _initializePanels()
        {
            Grid gridStoryPanelContainer = this.FindName("gridStoryPanelContainer") as Grid;
            this.storyPanel = new StoryPanel(this);
            gridStoryPanelContainer.Children.Add(this.storyPanel);

            Grid gridStoryCharactersPanelContainer = this.FindName("gridStoryCharactersPanelContainer") as Grid;
            this.storyCharactersPanel = new StoryCharactersPanel(this);
            gridStoryCharactersPanelContainer.Children.Add(this.storyCharactersPanel);

            Grid gridStoryNodesPanelContainer = this.FindName("gridStoryNodesPanelContainer") as Grid;
            this.storyNodesPanel = new StoryNodesPanel(this);
            gridStoryNodesPanelContainer.Children.Add(this.storyNodesPanel);
        }