jellyflow_core/ops/fragment/paste/tuning.rs
1use crate::core::CanvasPoint;
2
3/// Paste tuning for translating fragments into a destination graph.
4#[derive(Debug, Clone, Copy)]
5pub struct PasteTuning {
6 /// Additional offset applied to every pasted node position.
7 pub offset: CanvasPoint,
8}
9
10impl Default for PasteTuning {
11 fn default() -> Self {
12 Self {
13 offset: CanvasPoint { x: 0.0, y: 0.0 },
14 }
15 }
16}