documentationfor yFiles for HTML 2.6

Properties

snapLineProviderDecoratorin EdgeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISnapLineProvider type for IEdges this instance has been created for.
snapLineProviderDecoratorin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISnapLineProvider type for the INodes this instance has been created for.
snapLineProviderDecoratorin PortDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISnapLineProvider type for IPorts this instance has been created for.

Method Return Values

create (function(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem):void)in ISnapLineProviderCreates an implementation of the interface ISnapLineProvider by using the given function as implementation for its addSnapLines method.

Method Parameters

getDummyEdgeSnapLines (GraphSnapContext, ISnapLineProvider)in CreateEdgeInputModeGets the snap lines lines that are induced by the current dummy edge.

Implementing Types

EdgeSnapLineProviderAn ISnapLineProvider implementation that can be used to add snap lines for orthogonally routed IEdges.
NodeSnapLineProviderAn implementation of the ISnapLineProvider interface that provides OrthogonalSnapLines for INodes.