35 lines
876 B
C#
35 lines
876 B
C#
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
|
|
|
|
/// <summary>
|
|
/// Request to copy selected nodes and edges with an offset
|
|
/// </summary>
|
|
public class CopyNodesRequest
|
|
{
|
|
/// <summary>
|
|
/// Layout level ID
|
|
/// </summary>
|
|
public Guid LayoutLevelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// List of node IDs to copy
|
|
/// </summary>
|
|
public List<Guid> NodeIds { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// List of edge IDs to copy (only edges where both nodes are in NodeIds will be copied)
|
|
/// </summary>
|
|
public List<Guid> EdgeIds { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Offset X in world coordinates (meters)
|
|
/// </summary>
|
|
public double OffsetX { get; set; }
|
|
|
|
/// <summary>
|
|
/// Offset Y in world coordinates (meters)
|
|
/// </summary>
|
|
public double OffsetY { get; set; }
|
|
}
|
|
|
|
|