private void HandleInputSockets(INodeInputHandler inputHandler) { AnchorElement anchor = CreateAnchor(new Vector2(0, 0.5f)); foreach (IDirectionalInputSocket socket in inputHandler.InputSockets) { anchor.AddSocket(socket); } }
/// <summary> /// コンストラクタ /// 各種ハンドラを初期化する /// </summary> public EasyDiagramEditorBase() { NodeHandler = new NodeInputHandler(); EdgeCreateMouseHandler = new EdgeCreateInputHandler(CreateEdge, ChangeNormalMode); ChangeNormalMode(); }