documentationfor yFiles for HTML 3.0.0.3

Method Parameters

addHorizontalSegmentSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Point, Point)in EdgeSnapReferenceProviderAdds horizontal snap lines for a horizontally oriented fixed segment snap lines.
addSnapReferences (GraphSnapContext, CollectSnapReferencesEventArgs)in EdgeSnapReferenceProviderAdds the snap lines for the edge to the evt.
addVerticalSegmentSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Point, Point)in EdgeSnapReferenceProviderAdds vertical snap lines for a vertically oriented fixed segment snap lines.
collectFixedNodeSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextCollects the SnapReferences for the nodes which are not moving.
collectFixedPortSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextCollects the SnapReferences for the ports which are not moving.
collectFixedSegmentSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextCollects snap references for edge segments.
collectGridSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextCollects SnapGrids for bends, ports, and nodes if the corresponding bendGridConstraintProvider, portGridConstraintProvider, or nodeGridConstraintProvider are set.
collectSameSizeSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextCollects first the entries with same size and then SnapSize for snapping to the width and height of these sizes.
collectVisibleNodePairs (CollectSnapReferencesEventArgs)in GraphSnapContextFinds pairs of nodes that are visually adjacent to create center and same distance snap lines.
onCollectSnapReferences (CollectSnapReferencesEventArgs)in GraphSnapContextRaises the collect-snap-references event.
addSnapReferences (GraphSnapContext, CollectSnapReferencesEventArgs)in ISnapReferenceProviderCalled by the GraphSnapContext when a drag is about to start.
create (function(GraphSnapContext, CollectSnapReferencesEventArgs):void)in ISnapReferenceProvider
addEdgePathSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs)in LabelSnapReferenceProviderAdds snap lines to the context that are parallel to the path segments of the owner edge at particular distances.
addEdgePathSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, number)in LabelSnapReferenceProviderAdds snap lines to the context that are parallel to the path segments of the owner edge at the given distance.
addInitialLocationSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs)in LabelSnapReferenceProviderAdds two snap lines for the initial center location of the label, one in the direction of the up vector, and the other orthogonal to that direction.
addNodeShapeSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs)in LabelSnapReferenceProviderAdds snap lines to the context that are parallel to the owner node's border at particular distances.
addPortSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs)in LabelSnapReferenceProviderAdds horizontal and vertical snap lines to the context that are originating from the label's owner port if the label's owner is a port.
addSnapReferences (GraphSnapContext, CollectSnapReferencesEventArgs)in LabelSnapReferenceProviderCalled by the GraphSnapContext when a drag is about to start.
addCenterSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Rect)in NodeSnapReferenceProviderCalled by addSnapReferences to collect snap lines for the centers of the node.
addNodeBorderSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Rect)in NodeSnapReferenceProviderAdds the snap lines around the border of the node's layout.
addNodeSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Rect)in NodeSnapReferenceProviderAdds the fixed snap lines around the node for other nodes to snap to using the nodeDistance.
addNodeToSegmentSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Rect)in NodeSnapReferenceProviderAdds the fixed snap lines around the node for edge segments to snap to.
addPortSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Rect)in NodeSnapReferenceProviderCalled by addSnapReferences to collect snap lines at the node to snap ports to.
addSnapReferences (GraphSnapContext, CollectSnapReferencesEventArgs)in NodeSnapReferenceProviderCalled by the GraphSnapContext when a drag is about to start.