28 lines
763 B
C#
28 lines
763 B
C#
using RobotNet10.MapEditor.Shared.DTOs.Node;
|
|
using RobotNet10.MapEditor.Shared.DTOs.Edge;
|
|
|
|
namespace RobotNet10.MapEditor.Shared.DTOs.Responses;
|
|
|
|
/// <summary>
|
|
/// Response from split node operation
|
|
/// </summary>
|
|
public class SplitNodeResponse
|
|
{
|
|
/// <summary>
|
|
/// List of newly created nodes (one for each connected edge)
|
|
/// </summary>
|
|
public List<NodeDto> NewNodes { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// List of edges that were updated (StartNodeId or EndNodeId changed)
|
|
/// </summary>
|
|
public List<EdgeDto> UpdatedEdges { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// ID of the original node that was split (now deleted)
|
|
/// </summary>
|
|
public Guid DeletedNodeId { get; set; }
|
|
}
|
|
|
|
|