private static void CompFactoryPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CompGraph instance = d as CompGraph;

            if (instance == null)
            {
                return;
            }

            if (instance.CompFactory != null)
            {
                instance.CompFactory.PropertyChanged += instance.compFactory_PropertyChanged;
                instance.PopulateCanvas();
            }
        }