示例#1
0
        /// <summary>
        /// Performs initialization
        /// </summary>
        protected override void Initialize()
        {
            // Specify the style for the edge line
            EdgeLine edgeLine = new EdgeLine(ParentEdge.Type)
            {
                Opacity = 1,
                Color = new SolidColorBrush(Colors.Black),
                Thickness = 2
            };

            this.EdgeLine = edgeLine;
        }
示例#2
0
        /// <summary>
        /// Performs initialization
        /// </summary>
        protected override void Initialize()
        {
            // Specify the style for the edge line
            EdgeLine edgeLine = new EdgeLine(ParentEdge.Type)
            {
                Opacity   = 1,
                Color     = new SolidColorBrush(Colors.Black),
                Thickness = 2
            };

            this.EdgeLine = edgeLine;
        }