using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NotesDataAnalyst { public class GraphNode { public bool IsActive { get; set; } public string Id { get; } = Guid.NewGuid().ToString(); // Уникальный идентификатор public string Text { get; set; } public Color BackgroundColor { get; set; } = Colors.LightBlue; public Point Position { get; set; } // Позиция узла public Size Size { get; set; } = new Size(100, 50); // Размер узла public List Children { get; } = new List(); // Список дочерних узлов } public class GraphConnection { public GraphNode FromNode { get; set; } // Узел начала связи public GraphNode ToNode { get; set; } // Узел конца связи } }