void InputListener_MouseDown(EditorMouseEvent mouseEvent) { _editorView.GraphView.GetNodeViewUnderMouse((view) => { if (_editorView.GraphView.WindowSize.Contains(mouseEvent.Position)) { var node = view != null ? view.Node : null; SelectNode.InvokeSafe(node); } }); _editorView.GraphView.GetPinViewUnderMouse((view) => MouseDownOverPin.InvokeSafe(view.Pin)); }