GroupNode.cs

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

using yEd.XGML.DocumentEntities.Base;

namespace yEd.XGML.DocumentEntities.GroupNodeEntitie
{
    public class GroupNode : IElement
    {
        public int id { set; get; }
        public string label { set; get; }

        public GroupsNodeGraphics graphics { set; get; } = new GroupsNodeGraphics();
        public GroupNodeLabelGraphics LabelGraphics { set; get; } = new GroupNodeLabelGraphics();


        /// <summary>
        /// ID GroupNode, к которому принадлежит элемент. Null - в корне графа
        /// </summary>
        public int? gid { set; get; } = null;

        public bool isGroup => true;
    }
}