Contains utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a CanvasControl or GraphControl .

Classes

  ClassDescription
Public classAbstractPortCandidateProvider
An abstract convenience implementation of the IPortCandidateProvider interface.
Public classAllCandidatesEdgePortCandidateProvider
Simple implementation of the IEdgePortCandidateProvider interface that returns a union of all GetSourcePortCandidates(IInputModeContext) or GetTargetPortCandidates(IInputModeContext) respectively of the entities in the graph.
Public classBendMovementInfo
Specialized subclass of MovementInfo that describes the movement of an IBend in the context of GraphSnapContext.
Public classCollectGraphSnapLinesEventArgs
The event arguments used by GraphSnapContext to collect the various snap lines for each drag.
Public classCollectLabelSnapLineEventArgs
The event arguments used by LabelSnapContext to collect custom snap lines for each drag.
Public classCompositePortCandidateProvider
A generic composite implementation for the IPortCandidateProvider interface.
Public classCreateBendInputMode
An IInputMode used for recognizing the gesture of creating IBends in an IGraph.
Public classCreateEdgeInputMode
A specialized IInputMode used for creating edges between nodes in an IGraph displayed in a CanvasControl.
Public classCurrentEdgePortsCandidateProvider
An implementation of the IEdgePortCandidateProvider interface that returns the current source and target ports
Public classDefaultBendCreator
Simple default implementations of the IBendCreator interface used during the creation of bends in the UI.
Public classDefaultEdgePortsCandidateProvider
An implementation of the IEdgePortCandidateProvider interface that returns the candidates provided by the source and target node's IPortCandidateProvider implementations or the existing edge's port, if no such provider is registered.
Public classDefaultPortCandidate
A simple default implementation of an IPortCandidate.
Public classEdgeDragInputModeBase
A base class IInputMode that can be used to detect mouse drags on IEdges.
Public classEdgeEndMoveHandle
A sophisticated implementation of the IHandle interface the can be used to relocate a port.
Public classEdgeEndMovementInfo
Specialized subclass of MovementInfo that describes the movement of the endpoint of an IEdge in the context of GraphSnapContext.
Public classEdgeSegmentSnapLine
A specialized SnapLine that is parallel to an edge segment and stores that edge.
Public classEdgeSegmentSnapLineControl
A snap line visualization that shows a line and optionally highlights some special points.
Public classEdgeSnapLineProvider
Simple implementation of the ISnapLineProvider interface that can be used to add snap lines for orthogonally routed IEdges.
Public classEditLabelHelper
Simple default implementation of the IEditLabelHelper interface.
Public classEmptyPortsCandidateProvider
A generic implementation of the IPortCandidateProvider interface that provides no candidates.
Public classExistingPortsCandidateProvider
An implementation of the IPortOwner interface that returns the ports that exist in the given Ports's IPortOwner collection.
Public classFixedDistanceSnapLineControl
A snap line visualization that depicts a fixed distance to a certain obstacle.
Public classGraphCommands
The GraphCommands class exposes a standard set of IGraph-related editing and navigation commands.
Public classGraphEditorInputMode
A complex IInputMode that can be used in a CanvasControl or GraphControl to edit an IGraph instance.
Public classGraphInputModeController
Provides convenience implementations for IInputModes that deal with IGraphs.
Public classGraphSnapContext
Concrete SnapContext implementation which handles snapping movement for IGraph items.
Public classGraphViewerInputMode
An IInputMode implementation for use in a GraphControl to assign to the InputMode property.
Public classHoveredItemChangedEventArgs
Event argument class containing information about which IModelItem the mouse is currently hovering over.
Public classInBetweenSnapLineControl
A template the visualizes a snap line that snaps an object between two other objects so that the distances to the enclosing objects are equal.
Public classItemDropInputMode<(Of <(<'T>)>)>
A DropInputMode providing a preview of the dragged item.
Public classItemHoverInputMode
An input mode for use in a GraphControl that fires events when the mouse enters or leaves the visualization of a graph item.
Public classLabelPositionHandler
An implementation of IPositionHandler that shows the various label position candidates and lets the user move a label to one of those candidate positions.
Public classLabelSnapContext
Manages interactive snapping of ILabels to their owner during drag operations like movements.
Public classLabelSnapContextHelper
The default label snap context helper that provides the snap lines and the snap results to the LabelSnapContext during dragging of labels.
Public classLabelTextValidatingEventArgs
Event argument used by ValidateLabelText.
Public classMoveLabelInputMode
An IInputMode that can be used to drag a ILabel in a GraphControl.
Public classMovementInfo
An abstract helper class that is used in the context of GraphSnapContext to describe the movement of entities during the edit process.
Public classNavigationInputMode
An IInputMode that can navigate an IGraph displayed in a GraphControl.
Public classNodeBasedSnapLine
A specialized OrthogonalSnapLine that stores a Node as additional information that can be used for the visualization.
Public classNodeCenterPortCandidateProvider
Trivial implementation of an IPortCandidateProvider that always returns exactly one candidate that is centered at the node's Layout.
Public classNodeDropInputMode
An ItemDropInputMode<(Of <(<'T>)>)> specialized to drag'n'drop INodes.
Public classNodeMovementInfo
Specialized subclass of MovementInfo that describes the movement of an INode in the context of GraphSnapContext.
Public classNodePairBasedSnapLine
A specialized OrthogonalSnapLine that stores two nodes as additional information that can be used for the visualization.
Public classNodeReshapeSnapResultProvider
The default implementation of the INodeReshapeSnapResultProvider interface.
Public classNodeSnapLineProvider
An implementation of the ISnapLineProvider interface that provides OrthogonalSnapLines for INodes.
Public classNodeSnapResultProvider
The default implementation of the INodeSnapResultProvider interface.
Public classOrthogonalEdgeEditingContext
A helper class that can be used to interactively reshape orthogonal edge paths.
Public classOrthogonalEdgeHelper
Default implementation of the IOrthogonalEdgeHelper
Public classOrthogonalSnapLine
An orthogonal snap line, in other words, one that is parallel to the x or y axis.
Public classPointBasedSnapLine
A specialized OrthogonalSnapLine that stores a Point instance as additional information that can be used for the visualization.
Public classPortCandidateProvider
A simple mutable IPortCandidateProvider implementation that allows for adding IPortCandidates.
Public classPortDefaultsPortCandidateProvider
Simple implementation of an IPortCandidateProvider that always returns a candidate that uses the default LocationModelParameter for the corresponding IPortDefaults.
Public classPortLocationModelParameterHandle
An implementation of the IHandle that can be used to move an IPort interactively by assigning new IPortLocationModelParameters to the LocationModelParameter
Public classPortMovementInfo
Specialized subclass of MovementInfo that describes the movement of an IPort in the context of GraphSnapContext.
Public classPortRelocationHandle
A sophisticated implementation of the IHandle interface the can be used to relocate a port.
Public classPortRelocationHandleProvider
Simple implementation of a IHandleProvider that can be used for IEdges. It will return the IHandles for the source and target ports using PortRelocationHandles.
Public classPortsHandleProvider
A simple implementation of an IHandleProvider that returns all handles in the lookup of the ports owned by the given owner.
Public classReparentNodeHandler
Simple default implementation of IReparentNodeHandler that treats shift key presses as reparent gestures and allows for reparenting all nodes.
Public classReparentStripeHandler
Default implementation of the IReparentStripeHandler interface.
Public classReparentStripeInputMode
Specialized input mode that is used to reparent a stripe inside an ITable structure.
Public classReparentStripePositionHandler
Customized IPositionHandler implementation that moves a stripe in the table hierarchy when the stripe is dragged.
Public classReshapeRectangleContext
Helper class that carries information about a reshape operation.
Public classResizeStripeInputMode
Specialized input mode that is used to resize a stripe by dragging one of its borders.
Public classShapeGeometryPortCandidateProvider
An implementation of IPortCandidateProvider that works for IPortOwner implementations that have IShapeGeometry instances in their lookup.
Public classSingleLineSnapLineControl
Represents the visualization of a SnapResult that can be visualized using a single snap line.
Public classSnapLine
A snap line is a line segment in the world coordinate system to which other items (lines or points) snap during interactive movements.
Public classSnapLineControl
A Control representing a SnapResult.
Public classSnapLineSnapResult
A snap result represents a SnapLine to which the current moved item will potentially snap.
Public classStripeDropInputMode
An ItemDropInputMode<(Of <(<'T>)>)> specialized to drag 'n' drop IStripes.
Public classTableEditorInputMode
Input mode that can be used to interactively edit a table.
Public classTableReshapeHandler
IReshapeHandler implementation that constrains node resizes so that minimum size constraints of an associated ITable are satisfied and which resizes the outer IStripes of such a table when the node is resized.
Public classUnoccupiedPortsCandidateProvider
Simple implementation of an IPortCandidateProvider that returns unoccupied ports at a given entity.

Interfaces

  InterfaceDescription
Public interfaceIBendCreator
Callback interface for instances that can create bends for a given edge and graph.
Public interfaceIBendSelectionTester
Interface that can be used to find bends at specific locations in the canvas.
Public interfaceIBendSnapResultProvider
Interface that is used by the GraphSnapContext for bends to collect a number of SnapResults during the move/edit operation.
Public interfaceIEdgePortCandidateProvider
This interface can be used to query IPortCandidates for a specific existing IEdge
Public interfaceIEdgePortHandleProvider
An interface for classes that can yield IHandle implementations for the source and target ends of an IEdge.
Public interfaceIEdgeSnapResultProvider
Interface for classes that help during snapping of parts of edges.
Public interfaceIEditLabelHelper
Helper interface used by GraphEditorInputMode and the like that can be used to customize the label editing experience.
Public interfaceILabelSnapContextHelper
Provides the snap lines and the snap results to the LabelSnapContext during dragging of labels.
Public interfaceINodeReshapeSnapResultProvider
Interface for an implementation which evaluates a list of given SnapLines for a node which is resized and adds a set of SnapResults for sizes to which this node can potentially snap.
Public interfaceINodeSnapResultProvider
Interface that is used by the GraphSnapContext for nodes to collect a number of SnapResults during the move/edit operation.
Public interfaceIOrthogonalEdgeHelper
Interface used by OrthogonalEdgeEditingContext and the like that can be decorated to the ILookup of IEdges.
Public interfaceIPortCandidate
An interface for possible IPort candidates used by IPortCandidateProvider and the like.
Public interfaceIPortCandidateProvider
This interface can be used to query IPortCandidates for a specific IPortOwner with respect to a given opposite IPortCandidate or IEdge.
Public interfaceIPortLocationModelParameterProvider
Helper interface used by IPortLocationModel implementations to provide possible candidate IPortLocationModelParameters for a given port and model.
Public interfaceIPortSnapResultProvider
Interface that is used by the GraphSnapContext for port to collect a number of SnapResults during the move/edit operation.
Public interfaceIReparentNodeHandler
Interface used for implementations that recognize, approve and disapprove node reparenting gestures, as well as actually performs the reparenting.
Public interfaceIReparentStripeHandler
Interface used for implementations that recognize, approve and disapprove stripe reparenting gestures, as well as actually performs the reparenting.
Public interfaceISnapLineProvider
Queried by the GraphSnapContext to add OrthogonalSnapLines to its collections during the initialization phase.

Delegates

  DelegateDescription
Public delegateDropCreationCallback<(Of <(<'T>)>)>
Callback for creating a copy of the dragged item in graph at the specified location.
Public delegateNodeBasedEdgeCreationCallback
The delegate method that is used by CreateEdgeInputMode to create edges between instances of INode.
Public delegateNodeCreationCallback
A callback that is used by GraphEditorInputMode for the creation of nodes.
Public delegateNodeDropCreationCallback
Callback for creating a copy of draggedNode in graph with the given layout.
Public delegatePortBasedEdgeCreationCallback
The delegate method that is used by CreateEdgeInputMode to create edges between instances of IPort.

Enumerations

  EnumerationDescription
Public enumerationAdjustContentRectPolicy
Enumeration for the different possible policies that can be assigned to the AdjustContentRectPolicy property.
Public enumerationEdgeSegmentDirection
Defines the direction of an edge segment
Public enumerationMoveFocusDirection
Enumeration used by NavigationInputMode to determine the direction of the search for items to navigate to.
Public enumerationMoveTypes
Describes the type of the movement of a point during an edit in the context of GraphSnapContext.
Public enumerationNodeAlignmentPolicy
Enumeration used by NavigationInputMode to determine which point (if any) of a group or folder node should be kept fixed when toggling the group node state.
Public enumerationPortCandidateValidity
Enumeration for the different possible Validity states.
Public enumerationReparentGesture
Enumeration for the possible results of a reparent gesture.
Public enumerationSegmentOrientation
Enumeration for possible orientations of a segment in a (partially) orthogonal edge routing.
Public enumerationSnapLineOrientation
The orientation used by orthogonal snap lines.
Public enumerationSnapLineSnapType
The type of a snap line.

Remarks

This CLR namespace is mapped to the XAML namespace YfilesForSilverlightXamlNS