public Line AddPressurePipe(Visibility visibility)
 {
     var pPipe = new PressurePipe();
     hydroObjectGraph.Add(pPipe);
     return RegisterPressurePipe(visibility, pPipe);
 }
        private Line RegisterPressurePipe(Visibility visibility, PressurePipe pPipe)
        {
            var element = PressurePipe.GetVisualElement();
            elementDictionary.Add(element, pPipe);

            Canvas.SetZIndex(element, -1);
            element.Visibility = visibility;
            return element;
        }