Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user