The CreateEdgeInputMode type exposes the following members.

Constructors

  NameDescription
Public methodCreateEdgeInputMode()()()()
Creates a new instance that will use the IGraph from the InputModeContext to create edges in.
Public methodCreateEdgeInputMode(IGraph)
Creates a new instance using the given graph to create the edges in.

Methods

  NameDescription
Protected methodAddDummyEdgeBend
Adds a bend to the dummy edge.
Protected methodAssignBends
Assigns the given bend points to the newly created edge.
Protected methodAssignEdgeStyle
Assigns the style to the DummyEdge to use during the gesture.
Protected methodAssignSourcePortPosition
Assigns the port position and owner to the DummyEdge.
Public methodCancel()()()()
Runs the state machine using the cancel and reset events, releases the input mutex and returns.
(Inherited from StateMachineInputMode.)
Protected methodCancel(Transition)
Transition that cleans up everything that has been built until now.
Protected methodCanRequestMutex
Determines whether this instance can request the InputMutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodClearDummyEdgeBends
Callback that clears the dummy edge's bends.
Protected methodCreateBend(PointD)
Actually creates the bend at the given location.
Protected methodCreateBend(Transition)
Adds another bend to the edge's path.
Protected methodCreateCanceledState
Factory method that creates a canceled State for the given machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateDragPoint
Factory method for the DragPoint property.
Protected methodCreateDummyEdge
Creates the dummy edge that will be displayed by the input mode during the creation.
Protected methodCreateDummyTargetNode
Factory method that initially creates the dummy node that will be used to drag around the dummy edge's end.
Protected methodCreateEdge(IListEnumerable<(Of <<'(IPoint>)>>))
Callback at the end of the edge creation process.
Protected methodCreateEdge(IGraph, IPortCandidate, IPortCandidate)
Protected methodCreateEdge(IGraph, INode, INode)
Callback that creates the edge if no TargetPortCandidate and SourcePortCandidate have been determined but a source node and a target node.
Protected methodCreateEdgeCreationInputModeContext
Creates an IInputModeContext for use with the port candidates queries for the upcoming edge creation operation and the actual edge creation
Public methodCreateFeedbackPost
Creates a TransitionDoneHandler that triggers InputFeedbackCommand with the current IInputModeContext and LastEventLocation.
(Inherited from StateMachineInputMode.)
Protected methodCreateInputModeEventArgs
Helper method that yields a suitably configured InputModeEventArgs for this input mode.
(Inherited from AbstractInputMode.)
Protected methodCreateStartPoint
Factory method for the StartPoint property.
Protected methodCreateStartState
Factory method that creates a start State for the given machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStartTimerTransition
Creates a TransitionDoneHandler that will start a timer that will elapse once after the given duration.
(Inherited from StateMachineInputMode.)
Protected methodCreateStateMachine
Factory method that creates the state machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStoppedState
Factory method that creates a stopped State for the given machine.
(Inherited from StateMachineInputMode.)
Protected methodCreateStopTimerTransition
Creates a TransitionDoneHandler that stops the timer with the specific id.
(Inherited from StateMachineInputMode.)
Protected methodCreateTimerElapsedEventRecognizer
Creates an EventRecognizerCallback that will recognize when a timer created using CreateStartTimerTransition(TimeSpan, Int32) is triggered.
(Inherited from StateMachineInputMode.)
Protected methodCreateVisuals
Creates a IVisualCreator that creates Visuals for the DummyEdge and the port candidates.
Protected methodDetermineEdgeStyle
Determines the edge style to assign to the dummy edge.
Public methodDoStartEdgeCreation
Synthetically starts the interactive edge creation process using the provided IPortCandidate as the source port.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCanvasContext
Helper method that creates an implementation of ICanvasContext mainly for use in IsHit(PointD, ICanvasContext) calls that is specific to this mode.
(Inherited from AbstractInputMode.)
Protected methodGetChildInputModeContext
Returns the input mode context that will be passed to implementations that are called by this instance and require a context.
Protected methodGetClosestCandidate
Finds the closest Valid candidate given a number of IPortCandidates and a location in world coordinates.
Protected methodGetClosestSourceCandidate
Finds the closest candidate given a number of IPortCandidates and a location in world coordinates.
Protected methodGetClosestTargetCandidate
Finds the closest target candidate given a number of IPortCandidates and a location in world coordinates.
Protected methodGetDummyEdgeSnapLines
Gets the snap lines lines that are induced by the current dummy edge.
Protected methodGetFirstSegmentDirection
Calculates direction of first edge segment of the DummyNode. An edge starting in an border will always be orthogonal to the border's outer line. An edge starting in a corner will point the way the user dragged the mouse. An edge starting in the inner of the node will be directed the way dragged unless another edge that is close to the new edge (PreferredMinimalEdgeDistance) already went that way.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetNode
Retrieves the node at a given position in world coordinates.
Protected methodGetNodes
Retrieves the nodes from the graph in the order of their importance.
Protected methodGetPortOwner
Retrieves the port owner at a given position in world coordinates.
Protected methodGetPortOwners
Retrieves the port owners from the graph in the order of their importance.
Protected methodGetSourceNode
Finds the source node for a given point in world coordinates.
Protected methodGetSourcePortCandidate
Finds the best matching source port IPortCandidate given a provider and the current location.
Protected methodGetSourcePortCandidateProvider
Retrieves the port candidate provider instance given a source port owner.
Protected methodGetSourcePortOwner
Finds the source port owner at the specified location.
Protected methodGetTargetNode
Finds the target node for a given point in world coordinates.
Protected methodGetTargetPortCandidateProvider(IPortCandidate, PointD)
Retrieves the IPortCandidateProvider instance that provides the possible candidates for the target of the edge given the current source candidate.
Protected methodGetTargetPortCandidateProvider(IPortCandidate, IPortOwner, PointD)
Retrieves the port candidate provider instance given a source port candidate and a possible target item.
Protected methodGetTargetPortCandidates
Retrieves the target port candidates for a given location in world coordinates.
Protected methodGetTargetPortOwner
Finds the target port owner at the specified location.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasMutex
Determines whether this instance owns the input mutex.
(Inherited from AbstractConcurrentInputMode.)
Protected methodInitialize
Performs one-time initialization of this instance. This method should not be invoked by subclasses. This will be done automatically upon first installation of this mode.
(Inherited from AbstractInputMode.)
Protected methodInitializeStateMachine
Called to initialize the state machine.
(Overrides StateMachineInputMode..::..InitializeStateMachine(StateMachine, State, State, State, State).)
Public methodInstall
Installs this mode into the given canvas.
(Overrides StateMachineInputMode..::..Install(IInputModeContext).)
Protected methodInstallListeners
Installs all necessary listeners to trigger the Run(Object, EventArgs) method.
(Overrides StateMachineInputMode..::..InstallListeners()()()().)
Protected methodInvalidate
Convenience method for subclass implementations that invalidates the canvas this mode is currently installed in.
(Inherited from AbstractInputMode.)
Protected methodIsBendCreationEnforced
Callback that decides whether at the current state of the gesture the user wants to enforce the creation of a bend rather than finish the edge creation.
Protected methodIsCancelEvent
Method that identifies an event as a cancel event.
(Inherited from StateMachineInputMode.)
Protected methodIsCancelGesture
Determines whether the current event cancels the gesture.
Protected methodIsDisabledEvent
Method that identifies an event as a mode disabled event.
(Inherited from StateMachineInputMode.)
Protected methodIsEnabledEvent
Method that identifies an event as an mode enabled event.
(Inherited from StateMachineInputMode.)
Protected methodIsMutexAcquiredEvent
Method that identifies an event as an mutex acquired event.
(Inherited from StateMachineInputMode.)
Protected methodIsMutexLostEvent
Method that identifies an event as an mutex released event.
(Inherited from StateMachineInputMode.)
Protected methodIsPortCandidateResolutionEnabled
This method is called to determine whether Dynamic ports should be resolved or discarded.
Protected methodIsRemoveBendEvent
Determines whether the current event removes the last bend.
Protected methodIsSourceNodeDraggingFinished
Determines whether the current event indicates the dragging inside the source node is finished.
Protected methodIsStopEvent
Method that identifies an event as a stop event.
(Inherited from StateMachineInputMode.)
Protected methodIsValidBegin
Determines whether the current mouse state is valid for beginning the edge creation gesture.
Protected methodIsValidBend
Determines whether it is allowed to currently create a bend.
Protected methodIsValidEnd
Determines whether the edge gesture may end at this state.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCanceled
Event dispatch method that will dispatch the Canceled event.
(Inherited from AbstractInputMode.)
Protected methodOnCancelStateEntered
Called when the cancel state has been entered.
(Inherited from StateMachineInputMode.)
Protected methodOnDisable
Runs the state machine using a disable event.
(Inherited from StateMachineInputMode.)
Protected methodOnDisabled
Called when the Enabled property changes to false.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnEdgeCreated
Called by CreateEdge(IListEnumerable<(Of <<'(IPoint>)>>)) after the edge has been finalized.
Protected methodOnEdgeCreationStarted
Raises the EdgeCreationStarted event when the gesture for creating an edge has been initialized.
Protected methodOnEnable
Runs the state machine using an enable event.
(Inherited from StateMachineInputMode.)
Protected methodOnEnabled
Called when the Enabled property changes to true.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnGestureCanceled
Triggers the GestureCanceled event.
Protected methodOnGestureCanceling
Triggers the GestureCanceling event.
Protected methodOnGestureFinished
Callback triggered once the drag has been finalized.
Protected methodOnGestureFinishing
Callback triggered before the drag will be finalized.
Protected methodOnGestureStarted
Triggers the GestureStarted event.
Protected methodOnGestureStarting
Triggers the GestureStarting event.
Protected methodOnGraphChanged
Called when the Graph property changes.
Protected methodOnInitialized
Event dispatch method that will dispatch the Initialized event.
(Inherited from AbstractInputMode.)
Protected methodOnInitializing
Event dispatch method that will dispatch the Initializing event.
(Inherited from AbstractInputMode.)
Protected methodOnMachineReset
Resets the preferred cursor to null.
(Inherited from StateMachineInputMode.)
Protected methodOnMoved
Callback triggered at the end of each drag.
Protected methodOnMoving
Callback triggered at the start of each drag.
Protected methodOnMutexObtained
Runs the state machine using a mutex obtained event.
(Inherited from StateMachineInputMode.)
Protected methodOnMutexReleased
Runs the state machine using a mutex lost event.
(Inherited from StateMachineInputMode.)
Protected methodOnPortAdded
Raises the PortAdded event if the mode has added a port for the source or target node to complete the edge creation.
Protected methodOnPreferredCursorChanged
Called when the PreferredCursor property changes.
(Inherited from AbstractConcurrentInputMode.)
Protected methodOnRun
Callback method that will be called after the state machine has been run using the arguments provided.
(Inherited from StateMachineInputMode.)
Protected methodOnStopped
Event dispatch method that will dispatch the Stopped event.
(Inherited from AbstractInputMode.)
Protected methodOnStopStateEntered
Called when the cancel state has been entered.
(Inherited from StateMachineInputMode.)
Protected methodOnTargetLocationChanged
Updates the visual representation and port candidates.
Protected methodReleaseKeyboard
Releases previously captured keyboard input.
(Inherited from AbstractInputMode.)
Protected methodReleaseMouse
Releases previously captured mouse input.
(Inherited from AbstractInputMode.)
Protected methodReleaseMutex
Releases the mutex that is currently owned by this instance.
(Inherited from AbstractConcurrentInputMode.)
Protected methodReleaseTouch
Releases previously captured touch input.
(Inherited from AbstractInputMode.)
Protected methodRemoveLastBend
Actually removes the last bend.
Protected methodRequestKeyboard
Requests capturing of all keyboard input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Protected methodRequestMouse
Requests capturing of all mouse input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Protected methodRequestMutex
Requests the InputMutex from the current Controller.
(Inherited from AbstractConcurrentInputMode.)
Protected methodRequestTouch
Requests capturing of all touch input that happens in the CanvasControl.
(Inherited from AbstractInputMode.)
Public methodResetMachine
Runs the machine using a special reset event.
(Inherited from StateMachineInputMode.)
Protected methodResolveCandidates
Returns an enumerable over the given candidates where no instance has DynamicValidity.
Public methodRun
Tries to run the virtual machine using the pair of source and event argument to determine which transition to take.
(Inherited from StateMachineInputMode.)
Protected methodSetBendLocation(Int32, PointD)
Callback that sets the location of the bend of the current dummy edge at the given index.
Protected methodSetBendLocation(IBend, PointD)
Callback that sets the location of the bend of the current dummy edge at the given index.
Protected methodSetDragPoint
Updates the drag point.
Protected methodSetGraph
Set a new Graph for this mode.
Protected methodSetPreferredCursorTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that sets the given PreferredCursor.
(Inherited from StateMachineInputMode.)
Protected methodStartCreateEdge
Called at the beginning of the edge creation gesture.
Public methodStop
Runs the machine using a special stop event.
(Inherited from StateMachineInputMode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUninstall
Uninstalls this mode from the canvas.
(Overrides StateMachineInputMode..::..Uninstall(IInputModeContext).)
Protected methodUninstallListeners
Removes all listeners from the canvas that have been registered in InstallListeners()()()()
(Overrides StateMachineInputMode..::..UninstallListeners()()()().)
Protected methodUpdateTargetPortOwner
Updates the DummyEdge to reflect the current target port candidate.

Fields

  NameDescription
Protected fieldlastEventArgs Obsolete.
The last event arguments that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Protected fieldlastMouse2DEventArgs Obsolete.
The last Mouse2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)

Properties

  NameDescription
Public propertyBeginHitTestable
Gets or sets a IHitTestable that determines, whether it is valid to start an edge creation gesture here.
Public propertyBendCreationAllowed
Determines whether or not to allow the creation of bends.
Public propertyCancelEditImplicitly
Gets or sets whether after calls to CreateEdge(IGraph, IPortCandidate, IPortCandidate) or CreateEdge(IGraph, INode, INode) the current undo edit should be canceled if any of these methods returns nullNothingnullptra null reference (Nothing in Visual Basic).
Public propertyCanceledState
Returns the canceled state of the state machine.
(Inherited from StateMachineInputMode.)
Protected propertyCancelEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been canceled.
(Inherited from StateMachineInputMode.)
Public propertyCancelRecognizer
Gets or sets the property that determines cancel events.
Public propertyCancelRecognizerTouch
Gets or sets the property that determines cancel events via touch.
Public propertyCandidateDescriptor
Gets or sets the ICanvasObjectDescriptor that is used for visualizing the IPortCandidates in the canvas during the edit.
Protected propertyCanRequestMutexRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode CanRequestMutex()()()() can request the input mutex.
(Inherited from StateMachineInputMode.)
Public propertyCanvas
Returns the canvas instance this mode is currently installed in or nullNothingnullptra null reference (Nothing in Visual Basic).
(Inherited from AbstractInputMode.)
Protected propertyCanvasEditableDisabledRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this canvas that is associated with this input mode has changed its Editable state to false.
(Inherited from StateMachineInputMode.)
Protected propertyCanvasEditableEnabledRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this canvas that is associated with this input mode has changed its Editable state to true.
(Inherited from StateMachineInputMode.)
Public propertyCaptureInputWithMutex
Gets or sets a value indicating whether to also capture mouse and keyboard input if this mode gets the mutex.
(Inherited from StateMachineInputMode.)
Public propertyClosestCandidateDescriptor
Gets or sets the ICanvasObjectDescriptor that is used for visualizing the closest IPortCandidate in the canvas during the edit.
Public propertyConnectToCandidatesOnly
Gets or sets a property that determines whether this mode allows connecting to IPortCandidates only.
Public propertyController
Gets or injects the ConcurrencyController for this instance.
(Inherited from AbstractConcurrentInputMode.)
Public propertyCreateBendRecognizer
The event recognizer that recognizes the creation of a bend.
Public propertyCreateBendRecognizerTouch
The event recognizer that recognizes the creation of a bend via touch.
Protected propertyDisabledEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been disabled.
(Inherited from StateMachineInputMode.)
Public propertyDisableSnappingRecognizer
Gets or sets IEventRecognizer that temporarily disables snapping.
Public propertyDraggedRecognizer
The event recognizer that recognizes the initial dragging gesture that is used to initiate the creation after the preparation.
Public propertyDraggedRecognizerTouch
The event recognizer that recognizes the initial dragging gesture that is used to initiate the creation after the preparation via touch.
Public propertyDragPoint
Gets the dragging point for the edge creation.
Public propertyDummyEdge
Gets or sets the dummy edge instance that will be used to render a preview of the edge to be created.
Public propertyEdgeStyle
Gets or sets the IEdgeStyle to use for newly created edges.
Public propertyEdgeToEdgeConnectionsAllowed
Determines whether or not edges are allowed to connect to other edges.
Public propertyEnabled
Gets or sets the enabled state of this input mode.
(Inherited from AbstractConcurrentInputMode.)
Protected propertyEnabledEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been enabled.
(Inherited from StateMachineInputMode.)
Public propertyEnableSnappingRecognizer
Gets or sets IEventRecognizer that reenables temporarily disabled snapping.
Public propertyEndHitTestable
Gets or sets a IHitTestable that determines, whether it is valid to finish an edge creation gesture here.
Public propertyEnforceBendCreationRecognizer
Gets or sets the IEventRecognizer instance that will be queried to decide if bend creation is enforced.
Public propertyFinishRecognizer
The event recognizer that recognizes the finishing gesture that is used to end the edge creation on the target node.
Public propertyFinishRecognizerTouch
The event recognizer that recognizes the finishing gesture that is used to end the edge creation on the target node by a touch gesture.
Public propertyForceSnapToCandidate
Gets or sets a property that determines whether the mouse should be forced to snap to the nearest valid port candidate if the mouse hovers over a target node.
Public propertyGraph
Gets the Graph this mode is acting upon.
Public propertyInputModeContext
Returns the context instance this mode is currently installed in or null if this instance is not installed.
(Inherited from AbstractInputMode.)
Public propertyInstalled
Returns whether this mode is currently installed so a call to Canvas will yield a non-null result.
(Inherited from AbstractInputMode.)
Public propertyIsCreationInProgress
Determines whether currently an edge creation is in progress.
Public propertyLastEventLocation
Gets or sets the location of the last event.
(Inherited from StateMachineInputMode.)
Public propertyLastMouse2DEventArgs
Provides access to the last Mouse2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Public propertyLastPrimaryLocation
Gets or sets the last location of the primary touch device or the mouse pointer
(Inherited from StateMachineInputMode.)
Public propertyLastTouch2DEventArgs
Provides access to the last Touch2DEventArgs that have been delivered to this instance.
(Inherited from StateMachineInputMode.)
Public propertyMovedOrDraggedRecognizer
The event recognizer that recognizes the movement of the end point of the edge.
Protected propertyMutexAcquiredRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode acquired the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyMutexLostRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode lost the mutex.
(Inherited from StateMachineInputMode.)
Public propertyNodeBasedEdgeCreator
Gets or sets the node based edge creation callback.
Public propertyNodeBorderWidthRatio
Defines the width of a node's border which is taken into account when deciding which way to route the first segment of an orthogonal edge. An edge starting in a border is always pointing away from it.
Public propertyNodeComparer
Gets or sets the IComparer<INode> instance that is used in GetNode(PointD) to determine the hit order and which node is hit first.
Public propertyOrthogonalEdgeCreation
Gets or sets the property that enforces creation of orthogonal edges.
Public propertyOrthogonalSnapDistance
Gets or sets the distance in the view coordinate system that determines how far the mouse should be snapped to a horizontal or vertical line.
Public propertyPortBasedEdgeCreator
Gets or sets the ports based edge creation callback.
Public propertyPortCandidateResolutionRecognizer
Gets or sets the event recognizer that detects changes to the IsPortCandidateResolutionEnabled()()()() property.
Public propertyPortOwnerComparer
Gets or sets the IComparer<IPortOwner> instance that is used in GetPortOwner(PointD) to determine the hit order and which item is hit first.
Public propertyPreferredCursor
Gets the cursor this mode would like to have displayed in the CanvasControl.
(Inherited from AbstractConcurrentInputMode.)
Public propertyPreferredMinimalEdgeDistance
Defines the preferred minimal distance of orthogonal edges. This information is needed when deciding which way to route the first segment of an orthogonal edge.
Public propertyPrepareRecognizer
The event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the source node.
Public propertyPrepareRecognizerTouch
The event recognizer that recognizes the starting gesture that is used to prepare the edge creation on the source node via touch.
Public propertyPrimaryMoveEventRecognizer
Gets or sets the IEventRecognizer that defines the condition when to update LastPrimaryLocation.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseKeyboardTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that keyboard input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseMouseTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that mouse input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseMutexTransition
Factory method that creates a TransitionDoneHandler for the state machine that releases the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyReleaseTouchTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that touch input capturing is disabled if it has previously been enabled by this instance.
(Inherited from StateMachineInputMode.)
Public propertyRemoveBendRecognizer
Gets or sets the property that determines bend removal events.
Public propertyRemoveBendRecognizerTouch
Gets or sets the property that determines bend removal events via touch.
Protected propertyRequestKeyboardTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all keyboard input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyRequestMouseTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all mouse input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyRequestMutexTransition
Factory method that creates a TransitionDoneHandler for the state machine that requests the input mutex.
(Inherited from StateMachineInputMode.)
Protected propertyRequestTouchTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that request that all touch input is captured by the canvas.
(Inherited from StateMachineInputMode.)
Protected propertyResetPreferredCursorTransition
Factory method that can be used to obtain a TransitionDoneHandler implementation that resets the PreferredCursor.
(Inherited from StateMachineInputMode.)
Public propertyResolveSourcePortCandidates
Gets or sets a value indicating whether Dynamic ports that are part of the source port candidates should be resolved for the current mouse location.
Public propertyResolveTargetPortCandidates
Gets or sets a value indicating whether Dynamic ports that are part of the target port candidates should be resolved for the current mouse location.
Public propertySelfloopCreationAllowed
Determines whether or not to allow the creation of self loops.
Public propertyShowPortCandidates
Determines whether or not to display possible port candidates during the creation of the edge.
Public propertySnapContext
The SnapContext which manages snapping model items to certain coordinates (e.g. other items).
Public propertySnapDistance
Gets or sets the distance in the view coordinate system that determines how far the mouse should be snapped to a port candidate if SnapToTargetCandidate is enabled.
Public propertySnapToTargetCandidate
Determines whether or not the edge's end point should snap to the current target port candidate during the creation of the edge.
Public propertySnapToTargetCandidateOwner
Determines whether or not the edge's port should snap to the current target port candidate owner during the creation of the edge.
Public propertySourcePortCandidate
Gets or sets the candidate for the SourcePort of the edge to be created.
Public propertyStartPoint
Gets the starting point for the edge creation.
Public propertyStartState
Returns the start state of the state machine.
(Inherited from StateMachineInputMode.)
Public propertyStateMachine
Gets the state machine.
(Inherited from StateMachineInputMode.)
Protected propertyStopEventRecognizer
Factory method that creates an EventRecognizerCallback for the state machine that is triggered if this mode has been stopped.
(Inherited from StateMachineInputMode.)
Public propertyStoppedState
Returns the stopped state of the state machine.
(Inherited from StateMachineInputMode.)
Public propertyTargetPortCandidate
Gets or sets the current candidate for the TargetPort of the edge to be created.
Public propertyToggleSegmentOrientationRecognizer
Gets or sets the IEventRecognizer that toggles the orientation of the first orthogonally created segment.
Public propertyUseHitNodeTargetCandidatesOnly
Gets or sets a property that determines whether this mode should use only the target port candidates of the node the mouse currently hovers over.
Public propertyValidBeginCursor
Sets the cursor that indicates a valid place to begin an edge creation.
Public propertyValidBendCursor
Sets the cursor that indicates a valid place to create a bend.
Public propertyValidBendHitTestable
Gets or sets a IHitTestable that determines, whether it is valid to create a bend here.
Public propertyValidEndCursor
Sets the cursor that indicates a valid place to finish creation.
Public propertyVisuals
Gets the visuals that paints the edge and port candidates.

Events

  NameDescription
Public eventCanceled
Event that will be triggered after the call to Cancel()()()()
(Inherited from AbstractInputMode.)
Public eventEdgeCreated
Event that is triggered after an edge has been created by this mode.
Public eventEdgeCreationStarted
Occurs when the edge creation started has started.
Public eventGestureCanceled
Event that will be triggered when the gesture has been canceled.
Public eventGestureCanceling
Event that will be triggered before the gesture will be canceled.
Public eventGestureFinished
Event that will be triggered once the gesture has been finished.
Public eventGestureFinishing
Event that will be triggered before the gesture will be finished.
Public eventGestureStarted
Event that will be triggered once the gesture is initialized and has started.
Public eventGestureStarting
Event that will be triggered once the gesture is starting.
Public eventInitialized
Event that will be triggered after the call to Initialize()()()()
(Inherited from AbstractInputMode.)
Public eventInitializing
Event that will be triggered before the call to Initialize()()()()
(Inherited from AbstractInputMode.)
Public eventMoved
Event that will be triggered at the end of every drag or move.
Public eventMoving
Event that will be triggered at the start of every drag or move.
Public eventPortAdded
Occurs when this instance adds a port to the source or target node during completion of the edge creation gesture.
Public eventPreferredCursorChanged
An event that will be triggered if the PreferredCursor property changes.
(Inherited from AbstractConcurrentInputMode.)
Public eventRunHandler
An event that will be triggered if this state machine Run(Object, EventArgs)s.
(Inherited from StateMachineInputMode.)
Public eventStopped
Event that will be triggered after the call to Stop()()()()
(Inherited from AbstractInputMode.)

See Also