documentationfor yFiles for HTML 3.0.0.3

Method Parameters

collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, Point, IBend)in IBendSnapResultProviderCalled when a node is dragged to add SnapResults for OrthogonalSnapLines to which this bend can potentially snap.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, Point, IBend):void)in IBendSnapResultProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, IListEnumerable<MovementInfo>, IEdge)in IEdgeSnapResultProviderCalled during the snapping operation whenever snap results are collected.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, IListEnumerable<MovementInfo>, IEdge):void)in IEdgeSnapResultProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel)in ILabelSnapResultProviderCalled when the given label is dragged to add SnapResults for the SnapReferences provided by the context.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel):void)in ILabelSnapResultProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext)in INodeReshapeSnapResultProviderCalled when a node's handle is dragged to add SnapResults for OrthogonalSnapLines or sizes to which this node can potentially snap during resizing.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext):void)in INodeReshapeSnapResultProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode)in INodeSnapResultProviderCalled when a node is dragged to add SnapResults for OrthogonalSnapLines to which this node can potentially snap.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode):void)in INodeSnapResultProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, Point, IPort)in IPortSnapResultProviderCalled when a node is dragged to add SnapResults for OrthogonalSnapLines to which this bend can potentially snap.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, Point, IPort):void)in IPortSnapResultProvider
collectSnapResults (CollectSnapResultsEventArgs, any)in ItemDropInputModeCallback registered on the SnapContext that collects SnapResults for the dragged element.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollects snap results that snap the center or any border of the bounds of the label to the given snapLine.
collectSnapLineResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollect snap results that snap the center of the label to the given snapLine.
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel)in LabelSnapResultProvider
collectSnapResults (CollectSnapResultsEventArgs, any)in NodeDropInputMode
collectGridSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapGrid, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results for the grid.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results that make the node's bounds snap to the snapLine.
collectSameSizeSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapSize, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results that make the node the same size as other elements.
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext)in NodeReshapeSnapResultProviderCalled when a node is dragged to add SnapResults for SnapReferences to which this node can potentially snap during resizing.
collectCircleSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapCircle, Rect, INode)in NodeSnapResultProviderCalculates a SnapResult and adds it to the argument.
collectGridSnapResult (GraphSnapContext, CollectSnapResultsEventArgs, SnapGrid, Point, INode)in NodeSnapResultProviderCalculates a SnapResult and adds it to the argument.
collectGridSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapGrid, Rect, INode)in NodeSnapResultProviderCollects snap results that snap the node to a grid and adds them to the argument.
collectLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapLine, Rect, INode)in NodeSnapResultProviderCollect snap results that snap the node center to the given snap line.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, Rect, INode)in NodeSnapResultProviderVerifies whether the node will snap to the given snap line.
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, Rect, INode)in NodeSnapResultProvider
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in OrthogonalSnapLineCollects a valid SnapResult that snaps the movedPoint to this orthogonal line.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to this orthogonal line.
collectSegmentSnapResult (CollectSnapResultsEventArgs, IModelItem, number, number, number, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the orthogonal segment defined by the given parameters to this orthogonal line.
collectSnapResults (CollectSnapResultsEventArgs, any)in PortDropInputMode
collectSnapResults (CollectSnapResultsEventArgs, any)in PortLocationModelParameterHandleCalled during the drag to collect snap results.
calculateConstraintForBottomLocation (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the bottom side of the rectangle ends up at the snapLocation.
calculateConstraintForHeight (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the node height ends up to be height.
calculateConstraintForLeftLocation (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the left side of the rectangle ends up at the snapLocation.
calculateConstraintForRightLocation (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the right side of the rectangle ends up at the snapLocation.
calculateConstraintForTopLocation (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the top side of the rectangle ends up at the snapLocation.
calculateConstraintForWidth (CollectSnapResultsEventArgs, Rect, Point, number, number)in ReshapeRectangleContextCalculates a constraint for pointer locations so that the node width ends up being width.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point, number)in SnapCircleCollects a valid SnapResult that snaps the movedPoint to this circle.
onCollectSnapResults (CollectSnapResultsEventArgs)in SnapContextRaises the collect-snap-results event.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point, GridSnapTypes)in SnapGridCollects a valid SnapResult that snaps the movedPoint to grid points or lines of the gridInfo depending on the gridSnapTypes.
collectReshapedCornerSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapGridCollects a valid SnapResult that snaps the corner of the reshaped rectangle that corresponds to the reshapePosition to a grid point.
collectReshapedSideSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in SnapGridCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to a grid line.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in SnapLineCollects a valid SnapResult that snaps the movedPoint to this line.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapSizeCalculates a valid SnapResult that snaps the width or height of a reshaped rectangle to the size.