29 lines
758 B
C#
29 lines
758 B
C#
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
|
|
|
|
/// <summary>
|
|
/// Request to merge multiple nodes into one
|
|
/// </summary>
|
|
public class MergeNodesRequest
|
|
{
|
|
public Guid LevelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// List of node IDs to merge
|
|
/// </summary>
|
|
public List<Guid> NodeIds { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Optional: Specify center position for merged node
|
|
/// If not provided, will calculate center from nodes
|
|
/// </summary>
|
|
public double? CenterX { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional: Specify center position for merged node
|
|
/// If not provided, will calculate center from nodes
|
|
/// </summary>
|
|
public double? CenterY { get; set; }
|
|
}
|
|
|
|
|