documentationfor yFiles for HTML 2.6

Properties

nodeSnapResultProviderDecoratorin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the INodeSnapResultProvider type for the INodes this instance has been created for.

Fields

INSTANCEin NodeSnapResultProviderYields the static shared instance of this class.

Method Return Values

create (function(GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode):void)in INodeSnapResultProviderCreates an implementation of the interface INodeSnapResultProvider by using the given function as implementation for its collectSnapResults method.

Implementing Types

NodeSnapResultProviderThe default implementation of the INodeSnapResultProvider interface.