Definitions, default implementations, and support classes that model graphs and
the interaction with the user.
Classes
| Class | Description | |
|---|---|---|
| AbstractDummyEdgeConverter |
An abstract basic implementation of the IDummyEdgeConverter
interface that may be derived from to create a customized DummyEdgeConverter.
| |
| AbstractGraphWrapper |
An abstract IGraph implementation that delegates all of its work
to an existing implementation.
| |
| AbstractLabeledItem |
Base class for ILabeledItem instances.
| |
| AbstractModelItem |
A basic implementation of a IModelItem
with support for pluggable ILookup implementations.
| |
| BendDecorator |
A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)>
class that is specifically tailored for IBends.
| |
| BendEventArgs |
A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)>
class that is bound to the IBend type and carries
additional owner and index information.
| |
| BendList |
A simple implementation of a list of IBends.
| |
| CompositeGraph |
A graph wrapper implementation that takes two IGraph instances
and merges them into one.
| |
| CompositeStripeSelection |
A specialized IGraphSelection implementation that wraps an existing IGraphSelection and an existing
IStripeSelection and synchronizes their state.
| |
| ConstantLabelCandidateDescriptorProvider |
An implementation of the ILabelCandidateDescriptorProvider interface
that always yields a constant ILabelCandidateDescriptor.
| |
| CopiedLayoutIGraph |
A CopiedLayoutGraph variant that can be initialized using an IGraph.
| |
| DataMapAdapter<(Of <(<'K, V>)>)> |
An adapter implementation that wraps an IMapper<(Of <(<'K, V>)>)> to
an IDataMap.
| |
| DataProviderAdapter<(Of <(<'K, V>)>)> |
An adapter implementation that wraps an IMapper<(Of <(<'K, V>)>)> to
an IDataProvider.
| |
| DefaultBendLookup |
This is the default implementation of an IBend's
Lookup(Type) method.
| |
| DefaultColumnLookup |
This is the default implementation of an IColumn's
Lookup(Type) method.
| |
| DefaultDummyEdgeConverter |
The default implementation of the IDummyEdgeConverter that
is used by the FoldingManager initially and can be customized to suit the application's needs.
| |
| DefaultDummyNodeConverter |
Simple default implementation of the IDummyNodeConverter interface that
is used by the FoldingManager's DummyNodeConverter
property.
| |
| DefaultEdgeIntersectionCalculator |
The default implementation of the IEdgeIntersectionCalculator.
| |
| DefaultEdgeLookup | ||
| DefaultGraph |
Central implementation of the IGraph interface.
| |
| DefaultHierarchy<(Of <(<'T>)>)> |
A basic implementation of the IHierarchy<(Of <(<'T>)>)> interface.
| |
| DefaultItemLookup<(Of <(<'T>)>)> |
An abstract base class for a ILookup implementation
that also implements IContextLookupChainLink,
IContextLookup for a given type T.
| |
| DefaultLabelLookup |
This is the default implementation of an ILabel's
Lookup(Type) method.
| |
| DefaultLabelModelParameterFinder |
A simple default implementation of the ILabelModelParameterFinder
interface that uses the ILabelModel's own ILabelModelParameterProvider
instance to find the closest match.
| |
| DefaultNodeLookup |
This is the default implementation of an INode's
Lookup(Type) method.
| |
| DefaultPortCandidateDescriptor |
A simple ICanvasObjectDescriptor that can be used
to draw IPortCandidate instances in a CanvasControl.
| |
| DefaultPortLookup |
The default implementation of an IPort's
Lookup(Type) method.
| |
| DefaultRowLookup |
This is the default implementation of an IRow's
Lookup(Type) method.
| |
| DefaultStripeInputVisualizationHelper |
Default implementation of IStripeInputVisualizationHelper that uses DataTemplates for the actual visualization.
| |
| DefaultStripeLookup |
This is the default implementation of an IStripe's
Lookup(Type) method.
| |
| EdgeDecorator |
A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)>
class that is specifically tailored for IEdges.
| |
| EdgeDefaults |
A canonic implementation of the IEdgeDefaults interface
| |
| EdgeEventArgs |
A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)>
class that is bound to the IEdge type and carries
additional source and target port information.
| |
| ExcludingDummyEdgeConverter |
A simple implementation of the IDummyEdgeConverter interface
for use in the DummyEdgeConverter property, that will
prevent dummy edges from appearing in the IFoldedGraph view.
| |
| ExtendedEdgeLabelCandidate |
A subclass of EdgeLabelCandidate that provides a
candidate descriptor | |
| ExtendedLabelCandidateProfitModel |
An implementation of IProfitModel that returns the
profit of a label candidate for instances of ExtendedNodeLabelCandidate.
| |
| ExtendedNodeLabelCandidate |
A subclass of NodeLabelCandidate that provides a
candidate descriptor | |
| FilteredGraphWrapper |
A decorator implementation of an IGraph
that contains a subset of the wrapped graph instance.
| |
| FoldedGraphExtensions |
Contains static extension methods for the IFoldedGraph interface.
| |
| FoldingManager |
This class adds folding support to IGraph implementations on top of the IGroupedGraph
interface.
| |
| GraphClipboard |
Clipboard implementation for IGraph instances.
| |
| GraphCopier |
Utility class that copies parts of an IGraph to another
instance.
| |
| GraphDecorator |
Helper class that can be used to aid in
decorating IModelItems from an IGraph
instance.
| |
| GraphDecoratorExtensions |
Static class that contains extension methods for IGraph
to aid in conveniently using ILookupDecorator.
| |
| GraphExtensions |
Extension method holder class that extends the
IGraph type with utility methods.
| |
| GraphItemType |
Helper class that deals with the GraphItemTypes
enumeration.
| |
| GraphObstacleProvider |
A convenience composite implementation of the IObstacleProvider
that will use the Edges and Nodes
of an IGraph from the IRenderContext.
| |
| GraphSelection |
Simple implementation of the IGraphSelection interface.
| |
| GroupedGraph |
Default implementation of the IGroupedGraph interface that can be used
to decorate IGraph instances.
| |
| GroupedGraphExtensions |
Contains static extension methods for the IGroupedGraph interface.
| |
| HierarchyEventArgs<(Of <(<'T>)>)> |
The event argument class used by IHierarchy<(Of <(<'T>)>)>s to notify
listeners of changes to the hierarchy.
| |
| HierarchyExtensions |
Static utility class that offers convenience methods for
often used tasks in conjunction with IHierarchy<(Of <(<'T>)>)>
instances.
| |
| ItemDecorator<(Of <(<'TModelItem>)>)> |
A utility class that helps in decorating the Lookup(Type)
method of IModelItem instances that are contained
in an IGraph which are managed by an ILookupDecorator.
| |
| LabelCandidateDescriptor |
A simple mutable default implementation of the ILabelCandidateDescriptor
interface.
| |
| LabelDecorator |
A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)>
class that is specifically tailored for ILabels.
| |
| LabelDefaults |
A canonic implementation of the ILabelDefaults interface
| |
| LabelEventArgs |
A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)>
class that is bound to the ILabel type and carries
additional owner information.
| |
| LayoutExceptionEventArgs |
This event argument is used by FinishHandler if an exception happened during the execution.
| |
| LayoutExecutor |
A helper class that can be used to execute a ILayouter, and possibly
animate the result.
| |
| LayoutExtensions |
Extension method holder class with layout-related utility methods.
| |
| LayoutGraphAdapter | ||
| ListLabelCollection |
A simple implementation of the IListEnumerable<(Of <(<'T>)>)>
interface for ILabels that is backed by a list.
| |
| ListPortCollection |
A simple mutable implementation of the IListEnumerable<(Of <(<'T>)>)>
interface for IPorts.
| |
| LookupDecorator<(Of <(<'TDecoratedType, TInterface>)>)> |
A convenience class that facilitates the process of using ILookupDecorator.
| |
| MapperMetadata |
A simple implementation of the IMapperMetadata interface that can be
used as a base class.
| |
| MapperRegistry |
A simple Dictionary<(Of <(<'TKey, TValue>)>)>-based implementation of the IMapperRegistry
interface.
| |
| MapperRegistryExtensions |
Provides static convenience extension methods for the IMapperRegistry.
| |
| MergingDummyEdgeConverter |
A simple implementation of the IDummyEdgeConverter interface
that will make the IFoldedGraph view contain at most one
dummy edge between each pair of nodes by letting a single dummy edge
represent all master edges.
| |
| NodeDecorator |
A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)>
class that is specifically tailored for INodes.
| |
| NodeDefaults |
A canonic implementation of the INodeDefaults interface.
| |
| PortDecorator |
A subclass of the ItemDecorator<(Of <(<'TModelItem>)>)>
class that is specifically tailored for IPorts.
| |
| PortDefaults |
A canonic implementation of the IPortDefaults interface.
| |
| PortEventArgs |
A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)>
class that is bound to the IPort type and carries
additional IPortOwner information.
| |
| SimpleBend |
A simple mutable implementation of the IBend
interface that can be used stand-alone.
| |
| SimpleEdge |
A simple mutable implementation of the IEdge
interface that can be used stand-alone.
| |
| SimpleGraphStructure |
This class can be used to build a specialized DefaultGraph instance.
| |
| SimpleLabel |
A simple mutable implementation of the ILabel
interface that can be used stand-alone.
| |
| SimpleNode |
A simple mutable implementation of the INode
interface that can be used stand-alone.
| |
| SimplePort |
A simple mutable implementation of the IPort
interface that can be used stand-alone.
| |
| StripeDefaults |
A canonic implementation of the IStripeDefaults interface.
| |
| StripeEventArgs |
A specialized subclass of the ItemEventArgs<(Of <(<'T>)>)>
class that is bound to the IStripe type and carries
additional owner information.
| |
| StripeExtensions |
Extension helper methods to work with IStripe instances.
| |
| StripeSelection |
Default implementation of the IStripeSelection interface.
| |
| StripeSubregionDescriptor |
Helper class that further describes the result of a hit test on a stripe or table.
| |
| Table |
Default implementation of the ITable interface.
| |
| TableExtensions |
Extension method holder class that extends the
ITable type with utility methods.
| |
| TableLayoutConfigurator |
Support class that correctly configures PartitionGrid information from a given table configuration.
| |
| YGraphAdapter |
Structures
| Structure | Description | |
|---|---|---|
| DummyEdgeId |
A struct that can be used to describe a dummy edge that connects to nodes inside
a collapsed group or other dummy nodes in a IFoldedGraph.
| |
| DummyNodeId |
A struct that can be used to describe a collapsed node in an IFoldedGraph view.
| |
| DummyNodePortId |
A struct that can be used to describe a master port at
a dummy node in a IFoldedGraph view.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IAddDummyEdgeCallback |
The interface of the callback that is passed to implementations of the IDummyEdgeConverter's
AddDummyEdge(IAddDummyEdgeCallback, IFoldedGraph, IEdge, INode, Boolean, INode, Boolean) method.
| |
| IBend | ||
| IBendLocationChangeReporter |
An interface that can be used to register an event listener
that will be notified of changes of an IBend's coordinates.
| |
| IChangeDummyEdgeAppearanceCallback |
The interface of the callback that is passed to implementations of the IDummyEdgeConverter's
ChangeDummyEdgeAppearance(IChangeDummyEdgeAppearanceCallback, IFoldedGraph, IEdge, IList<(Of <<'(IEdge>)>>)) and CreateDummyEdgeAppearance(IChangeDummyEdgeAppearanceCallback, IFoldedGraph, IEdge, IList<(Of <<'(IEdge>)>>))
methods.
| |
| IChangeDummyNodeAppearanceCallback |
The interface of the callback that is passed to implementations of the IDummyNodeConverter's
ChangeDummyNodeAppearance(IChangeDummyNodeAppearanceCallback, IFoldedGraph, INode, INode) and CreateDummyNodeAppearance(IChangeDummyNodeAppearanceCallback, IFoldedGraph, INode, INode)
methods.
| |
| IChangeLabeledItemAppearanceCallback |
Common base interface for both the IChangeDummyNodeAppearanceCallback
and IChangeDummyEdgeAppearanceCallback.
| |
| IClipboardHelper |
Interface that helps in clipboard actions that can be associated with each IModelItem in
the context where clipboards are needed.
| |
| IColumn |
Interface that describes a column in a ITable instance.
| |
| IDummyEdgeConverter |
Interface used by FoldingManager and IFoldedGraph
which is responsible for managing edges between dummy nodes.
| |
| IDummyNodeConverter |
Interface used by FoldingManager and IFoldedGraph
which is responsible for managing the appearance of dummy nodes.
| |
| IEdge |
The interface used to model edges in an IGraph implementation.
| |
| IEdgeDefaults |
Interface used by IGraph to declare and obtain the defaults
for edges and their labels or ports.
| |
| IFoldedGraph |
Interface that is used for manipulating a managed view
of an IGraph that supports folding operations like expanding and
collapsing of nodes.
| |
| IGraph |
Central interface that models a graph which can be displayed
in a canvas or GraphControl.
| |
| IGraphClipboardContext |
The interface for the context that is passed by the GraphClipboard implementation
to the IClipboardHelpermethods.
| |
| IGraphSelection |
Manages the selection state of items in an IGraph
instance.
| |
| IGraphStructure |
The interface used by utility classes that DefaultGraph
delegates most of its work to. Normally you don't need to deal with this interface.
| |
| IGraphUndoUnitSupport |
Support interface that is used by DefaultGraph
to create the IUndoUnits for structural graph changes.
| |
| IGroupedGraph |
Provides a hierarchic view over an IGraph.
| |
| IHierarchy<(Of <(<'T>)>)> |
The interface that models an observable tree-like hierarchy.
| |
| ILabel |
The interface used in an IGraph implementation
for labels.
| |
| ILabelCandidateDescriptor |
Interface that describes the properties of a candidate ILabelModelParameter | |
| ILabelCandidateDescriptorProvider |
An interface that can be used to retrieve ILabelCandidateDescriptor
instances for a given combination of ILabels and
parameter candidates.
| |
| ILabelDefaults |
Interface used by IGraph and the like to declare and obtain the defaults
for labels.
| |
| ILabeledItem | ||
| ILabelModel |
Yields the geometry of ILabel instances.
| |
| ILabelModelParameter |
Common interface for parameters that are created by
ILabelModel instances.
| |
| ILabelModelParameterFinder |
Utility interface used by ILabelModel implementations to
find the best ILabelModelParameter
to approximate a given layout.
| |
| ILabelModelParameterProvider |
Helper interface used by ILabelModel implementations
to provide possible candidate ILabelModelParameters
for a given label and model.
| |
| ILabelTextChangeReporter | ||
| IMapperMetadata |
The interface for the meta data that is associated with IMapper<(Of <(<'K, V>)>)>s in
a IMapperRegistry.
| |
| IMapperRegistry |
A registry that can be used to store IMapper<(Of <(<'K, V>)>)> implementations
by tag.
| |
| INode |
The interface for node entities in an IGraph.
| |
| INodeBoundsChangeReporter | ||
| INodeDefaults |
Interface used by IGraph and the like to declare and obtain the defaults
for nodes and their labels or ports.
| |
| IObservableHierarchy<(Of <(<'T>)>)> |
Support interface in the context of IHierarchy<(Of <(<'T>)>)> whose implementations
can be found in the lookup of a DefaultHierarchy<(Of <(<'T>)>)>.
| |
| IPort | ||
| IPortDefaults |
Interface used by IGraph to declare and obtain the defaults
for ports at nodes and edges.
| |
| IPortLocationModel |
Determines the location of IPort instances.
| |
| IPortLocationModelParameter |
The interface that all parameters for IPortLocationModels need
to implement.
| |
| IPortLocationModelParameterChangeReporter | ||
| IPortOwner | ||
| IPortSelectionTester |
Interface that can be used to find ports at specific locations in the canvas.
| |
| IPreferredSizeChangeReporter |
An interface that can be used to register an event listener
that will be notified of changes of an ILabel's preferred size.
| |
| IRow |
Interface that describes a row in a ITable instance.
| |
| IStripe |
This interface defines a child element of a table or a table element container
| |
| IStripeDefaults |
Interface used by ITable and the like to declare and obtain the defaults
for stripes and their labels.
| |
| IStripeHitTestHelper |
Helper interface that allows to bundle IHitTestable implementations
for the main regions of a IStripe instance.
| |
| IStripeInputVisualizationHelper |
This interface allows to change the visualization for different input gestures.
| |
| IStripeSelection |
Manages the selection state of items in an ITable
instance.
| |
| ITable |
This interface defines a table structure.
| |
| ITagChangeReporter |
Delegates
| Delegate | Description | |
|---|---|---|
| BendLocationChanged |
Event delegate method that is used in the IBendLocationChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
| |
| ElementCopiedDelegate |
Callback delegate used by GraphCopier and the like.
| |
| HierarchyItemEventHandler<(Of <(<'T>)>)> |
The delegate that is used to deliver
HierarchyEventArgs<(Of <(<'T>)>)> of an IHierarchy<(Of <(<'T>)>)>.
| |
| LabelTextChanged |
Event delegate method that is used in the ILabelTextChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
| |
| NodeBoundsChanged |
Event delegate method that is used in the INodeBoundsChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
| |
| PortLocationModelParameterChanged |
Event delegate method that is used in the IPortLocationModelParameterChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
| |
| PreferredSizeChanged |
Event delegate method that is used in the IPreferredSizeChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
| |
| TagChanged |
Event delegate method that is used in the ITagChangeReporter
interface. DefaultGraph by default has an implementation of this interface
in it's Lookup(Type).
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| AdjacencyTypes |
Enumeration type for the different types of adjacency.
| |
| GraphCopier..::..CloneTypes |
Enumeration that can use flags to indicate
which items should be cloned during
copy operations.
| |
| GraphItemTypes |
An enumeration for use in various properties
that can take a bitwise combination of item types that make up an IGraph | |
| HierarchyChange |
The type of hierarchy change that a HierarchyEventArgs<(Of <(<'T>)>)> may carry.
| |
| StripeSubregion |
Enumeration that specifies the various hot spot regions of an IStripe instance
| |
| StripeTypes |
An enumeration for use in various properties
that can take a bitwise combination of item types that make up an ITable | |
| StripeVisualizationType |
Enumeration constants for the various visualization types used in conjunction with IStripeInputVisualizationHelper |
Remarks
This CLR namespace is mapped to the XAML namespace YfilesCommonNS()()()()