import { SelectionElementModel } from "../../primitives/selection/SelectionElementModel" ; import { AbstractStateMachineInput } from "../AbstractStateMachineInput" ; export enum ModelAnchorInputPosition { TOP , TOP_LEFT , TOP_RIGHT , LEFT , RIGHT , BOT , BOT_LEFT , BOT_RIGHT } export class ModelAnchorInput extends AbstractStateMachineInput { selectionModel : SelectionElementModel ; anchor : ModelAnchorInputPosition ; static NAME = "model-anchor" ; constructor ( model , anchor ) { super ( ModelAnchorInput . NAME ) ; this . selectionModel = model ; this . anchor = anchor ; } }