Contains utility classes and
IInputMode
implementations that can be used
to work with and edit
IGraph
instances in a
CanvasControl
or
GraphControl
.
Classes
| Class | Description | |
|---|---|---|
| AbstractPortCandidateProvider |
An abstract convenience implementation of the IPortCandidateProvider interface.
| |
| AllCandidatesEdgePortCandidateProvider |
Simple implementation of the IEdgePortCandidateProvider
interface that returns a union of all GetSourcePortCandidates(IInputModeContext)
or GetTargetPortCandidates(IInputModeContext) respectively of the entities in the graph.
| |
| BendMovementInfo |
Specialized subclass of MovementInfo that describes the movement of an IBend
in the context of GraphSnapContext.
| |
| CollectGraphSnapLinesEventArgs |
The event arguments used by GraphSnapContext to collect
the various snap lines for each drag.
| |
| CompositePortCandidateProvider |
A generic composite implementation for the IPortCandidateProvider
interface.
| |
| CreateBendInputMode | ||
| CreateEdgeInputMode |
A specialized IInputMode used for creating edges between nodes
in an IGraph displayed in a CanvasControl.
| |
| CurrentEdgePortsCandidateProvider |
An implementation of the IEdgePortCandidateProvider
interface that returns the current source and target ports
| |
| DefaultBendCreator |
Simple default implementations of the IBendCreator
interface used during the creation of bends
in the UI.
| |
| DefaultEdgePortsCandidateProvider |
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.
| |
| DefaultPortCandidate |
A simple default implementation of an IPortCandidate.
| |
| EdgeDragInputModeBase |
A base class IInputMode that can be used to detect mouse drags on
IEdges.
| |
| EdgeEndMoveHandle |
A sophisticated implementation of the IHandle interface
the can be used to relocate a port.
| |
| EdgeEndMovementInfo |
Specialized subclass of MovementInfo that describes the movement of the endpoint of an IEdge
in the context of GraphSnapContext.
| |
| EdgeSnapLineProvider |
Simple implementation of the ISnapLineProvider interface that can be used to
add snap lines for orthogonally routed IEdges.
| |
| EditLabelHelper |
Simple default implementation of the IEditLabelHelper
interface.
| |
| EmptyPortsCandidateProvider |
A generic implementation of the IPortCandidateProvider interface that provides
no candidates.
| |
| ExistingPortsCandidateProvider |
An implementation of the IPortOwner
interface that returns the ports that exist in the
given Ports's IPortOwner
collection.
| |
| FixedDistanceSnapLineControl |
A template for a snap line visualization that is shows a fixed distance to a certain obstacle.
| |
| GraphCommands | ||
| GraphEditorInputMode |
A complex IInputMode that can be used in a CanvasControl
or GraphControl to edit an IGraph instance.
| |
| GraphInputModeController |
Provides convenience implementations for IInputModes
that deal with IGraphs.
| |
| GraphSnapContext |
Concrete SnapContext implementation which handles snapping movement for IGraph items.
| |
| GraphViewerInputMode | ||
| InBetweenSnapLineControl |
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.
| |
| LabelPositionHandler |
An implementation of IPositionHandler
that shows the various label position candidates
and lets the user move a label to one of those candidate positions.
| |
| LabelTextValidatingEventArgs |
Event argument used by ValidateLabelText.
| |
| MoveLabelInputMode | ||
| MovementInfo |
An abstract helper class that is used in the context of GraphSnapContext to describe the movement
of entities during the edit process.
| |
| NavigationInputMode | ||
| NodeBasedSnapLine | ||
| NodeCenterPortCandidateProvider |
Trivial implementation of an IPortCandidateProvider
that always returns exactly one candidate that is centered at the node's
Layout.
| |
| NodeDropInputMode |
A DropInputMode specialized to drag'n'drop INodes.
| |
| NodeMovementInfo |
Specialized subclass of MovementInfo that describes the movement of an INode
in the context of GraphSnapContext.
| |
| NodePairBasedSnapLine | ||
| NodeReshapeSnapResultProvider |
The default implementation of the INodeReshapeSnapResultProvider interface.
| |
| NodeSnapLineProvider | ||
| NodeSnapResultProvider |
The default implementation of the INodeSnapResultProvider interface.
| |
| OrthogonalEdgeEditingContext |
A helper class that can be used to interactively reshape orthogonal edge paths.
| |
| OrthogonalEdgeHelper |
Default implementation of the IOrthogonalEdgeHelper | |
| PointBasedSnapLine | ||
| PortCandidateProvider |
A simple mutable IPortCandidateProvider implementation
that allows for adding IPortCandidates.
| |
| PortDefaultsPortCandidateProvider |
Simple implementation of an IPortCandidateProvider
that always returns a candidate that uses the default LocationModelParameter
for the corresponding IPortDefaults.
| |
| PortLocationModelParameterHandle |
An implementation of the IHandle
that can be used to move an IPort
interactively by assigning new IPortLocationModelParameters
to the LocationModelParameter | |
| PortMovementInfo |
Specialized subclass of MovementInfo that describes the movement of an IPort
in the context of GraphSnapContext.
| |
| PortRelocationHandle |
A sophisticated implementation of the IHandle interface
the can be used to relocate a port.
| |
| PortRelocationHandleProvider |
Simple implementation of a IHandleProvider
that can be used for IEdges.
It will return the IHandles for
the source and target ports
using PortRelocationHandles.
| |
| PortsHandleProvider |
A simple implementation of an IHandleProvider
that returns all handles in the lookup of the ports
owned by the given owner.
| |
| ReparentNodeHandler |
Simple default implementation of IReparentNodeHandler
that treats shift key presses as reparent gestures and allows
for reparenting all nodes.
| |
| ReparentStripeHandler |
Default implementation of the IReparentStripeHandler interface.
| |
| ReparentStripeInputMode |
Specialized input mode that is used to reparent a stripe inside an ITable structure.
| |
| ReparentStripePositionHandler |
Customized IPositionHandler implementation that moves a stripe in the table hierarchy when the stripe is dragged.
| |
| ReshapeRectangleContext |
Helper class that carries information about a reshape operation.
| |
| ResizeStripeInputMode |
Specialized input mode that is used to resize a stripe by dragging one of its borders.
| |
| ShapeGeometryPortCandidateProvider |
An implementation of IPortCandidateProvider that
works for IPortOwner implementations that
have IShapeGeometry instances in their lookup.
| |
| SingleLineSnapLineControl |
Represents the visualization of a SnapResult that can be visualized using a single snap line.
| |
| SnapLine |
Models a snap line that is a line segment in the world coordinate system that is parallel to the
x or y axis and to which other items (lines or points) snap to during interactive movements.
| |
| SnapLineControl |
A Control representing a SnapResult.
| |
| SnapLineSnapResult |
A snap result represents a SnapLine to which the current moved item
will potentially snap.
| |
| StripeDropInputMode |
A DropInputMode specialized to drag 'n' drop of IStripes.
| |
| TableEditorInputMode |
Input mode that can be used to interactively edit a table.
| |
| TableReshapeHandler | 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.
| |
| UnoccupiedPortsCandidateProvider |
Simple implementation of an IPortCandidateProvider
that returns unoccupied ports at a given entity.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IBendCreator |
Callback interface for instances that can create bends for a given edge and graph.
| |
| IBendSelectionTester |
Interface that can be used to find bends at specific locations in the canvas.
| |
| IBendSnapResultProvider |
Interface that is used by the GraphSnapContext for bends to
collect a number of SnapResults during the move/edit operation.
| |
| IEdgePortCandidateProvider |
This interface can be used to query IPortCandidates
for a specific existing IEdge | |
| IEdgePortHandleProvider | ||
| IEdgeSnapResultProvider |
Interface for classes that help during snapping of parts of edges.
| |
| IEditLabelHelper |
Helper interface used by GraphEditorInputMode and the like that
can be used to customize the label editing experience.
| |
| INodeReshapeSnapResultProvider |
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.
| |
| INodeSnapResultProvider |
Interface that is used by the GraphSnapContext for nodes to
collect a number of SnapResults during the move/edit operation.
| |
| IOrthogonalEdgeHelper |
Interface used by OrthogonalEdgeEditingContext and the like
that can be decorated to the ILookup of IEdges.
| |
| IPortCandidate |
An interface for possible IPort candidates used by
IPortCandidateProvider and the like.
| |
| IPortCandidateProvider |
This interface can be used to query IPortCandidates
for a specific IPortOwner with respect to a given
opposite IPortCandidate or IEdge.
| |
| IPortLocationModelParameterProvider |
Helper interface used by IPortLocationModel implementations
to provide possible candidate IPortLocationModelParameters
for a given port and model.
| |
| IPortSnapResultProvider |
Interface that is used by the GraphSnapContext for port to
collect a number of SnapResults during the move/edit operation.
| |
| IReparentNodeHandler |
Interface used for implementations that recognize, approve and disapprove node
reparenting gestures, as well as actually performs the reparenting.
| |
| IReparentStripeHandler |
Interface used for implementations that recognize, approve and disapprove stripe
reparenting gestures, as well as actually performs the reparenting.
| |
| ISnapLineProvider |
Queried by the GraphSnapContext to add SnapLines to its collections during the
initialization phase.
|
Delegates
| Delegate | Description | |
|---|---|---|
| NodeBasedEdgeCreationCallback |
The delegate method that is used by CreateEdgeInputMode
to create edges between instances of INode.
| |
| NodeCreationCallback |
A callback that is used by GraphEditorInputMode
for the creation of nodes.
| |
| NodeDropCreationCallback |
Callback for creating a copy of draggedNode in graph with the given layout.
| |
| PortBasedEdgeCreationCallback |
The delegate method that is used by CreateEdgeInputMode
to create edges between instances of IPort.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| AdjustContentRectPolicy |
Enumeration for the different possible policies that
can be assigned to the AdjustContentRectPolicy
property.
| |
| EdgeSegmentDirection |
Defines the direction of an edge segment
| |
| MoveFocusDirection |
Enumeration used by NavigationInputMode to determine the direction
of the search for items to navigate to.
| |
| MoveTypes |
Describes the type of the movement of a point during an edit in the context of GraphSnapContext.
| |
| NodeAlignmentPolicy |
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.
| |
| PortCandidateValidity |
Enumeration for the different possible Validity states.
| |
| ReparentGesture |
Enumeration for the possible results of a reparent gesture.
| |
| SegmentOrientation |
Enumeration for possible orientations of a segment in a (partially) orthogonal edge routing.
| |
| SnapLineOrientation |
The orientation used by snap lines.
| |
| SnapLineSnapType |
The type of a snap line.
|
Remarks
This CLR namespace is mapped to the XAML namespace YfilesForSilverlightXamlNS()()()()