Edge.cs

27 lines | 627 B Blame History Raw Download
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace yEd.XGML.DocumentEntities.EdgeEntitie
{
    public class Edge
    {
        /// <summary>
        /// Src node
        /// </summary>
        public int source { set; get; }

        /// <summary>
        /// Target node
        /// </summary>
        public int target { set; get; }

        public string label { set; get; }

        public EdgeGraphics Graphics { set; get; } = new EdgeGraphics();
        public EdgeLabelGraphics LabelGraphics { set; get; } = new EdgeLabelGraphics();
    }
}