mirror of
https://github.com/rio-labs/rio.git
synced 2026-01-23 22:11:45 -06:00
21 lines
738 B
TypeScript
21 lines
738 B
TypeScript
/// A connection that is only connected to a single port, with the other end
|
|
|
|
import { componentsByElement } from "../../componentManagement";
|
|
import { ComponentId } from "../../dataModels";
|
|
import { GraphEditorComponent } from "./graphEditor";
|
|
import { NodeInputComponent } from "../nodeInput";
|
|
import { NodeOutputComponent } from "../nodeOutput";
|
|
|
|
export class DraggingSelectionStrategy {
|
|
startPointX: number;
|
|
startPointY: number;
|
|
|
|
constructor(startPointX: number, startPointY: number) {
|
|
this.startPointX = startPointX;
|
|
this.startPointY = startPointY;
|
|
}
|
|
|
|
onDragMove(this_: GraphEditorComponent, event: PointerEvent): void {}
|
|
onDragEnd(this_: GraphEditorComponent, event: PointerEvent): void {}
|
|
}
|