documentationfor yFiles for HTML 3.0.0.3

Usages of Point

Properties

intersectionPointsin IntersectionGets a list of points that describe the intersecting area or line.
centroidsin KMeansClusteringGets or sets the initial centroids.
centroidsin KMeansClusteringResultGets a collection of the new centroids.
intersectionPointsin LayoutGraphIntersectionGets a list of Points that describe the intersecting area or line.
lastCoordinatein GeneralPathGets the last coordinates of the last path element.
currentEndPointin GeneralPathCursorGets the current end point of the last path element.
anchorin IOrientedRectangleGets the anchor location of the oriented rectangle as Point.
centerin IOrientedRectangleGets the current center of the oriented rectangle as Point.
upVectorin IOrientedRectangleGets the up vector of the oriented rectangle as Point.
bottomLeftin IRectangleGets the coordinates of the bottom left corner of the rectangle as a Point.
bottomRightin IRectangleGets the coordinates of the bottom right corner of the rectangle as a Point.
centerin IRectangleGets the coordinates of the center of the rectangle as a Point.
topLeftin IRectangleGets the coordinates of the top left corner of the rectangle as a Point.
topRightin IRectangleGets the coordinates of the top right corner of the rectangle as a Point.
firstEndPointin LineSegmentGets the first endpoint of the line segment.
secondEndPointin LineSegmentGets the second endpoint of the line segment.
centerin OrientedRectangleGets or sets the current center of this oriented rectangle.
normalizedin PointCreates a normalized version of this vector.
pointin TangentGets the point of tangency.
vectorin TangentGets the directional vector.
anchorLocationin AbsoluteFreeLabelModelParameterGets the absolute anchor location for the label.
locationin FoldingBendStateGets or sets the location of the bend.
labelOffsetin FreeNodeLabelModelParameterGets the absolute offset to apply to the point on the label after the ratio has been determined.
labelRatioin FreeNodeLabelModelParameterGets the ratio that describes the point on the label's layout relative to its upper-left corner.
layoutOffsetin FreeNodeLabelModelParameterGets the absolute offset to apply to the point on the node after the ratio has been determined.
layoutRatioin FreeNodeLabelModelParameterGets the ratio that describes the point on the node's layout relative to its upper-left corner.
offsetin FreeNodePortLocationModelParameterGets the offset that is added after the ratios are applied.
ratiosin FreeNodePortLocationModelParameterGets the ratios of the node layout's size.
labelOffsetin FreePortLabelModelParameterGets the offset to apply to the point on the label after the ratio has been determined.
labelRatioin FreePortLabelModelParameterGets the ratio that describes the point on the label's layout relative to its size.
locationOffsetin FreePortLabelModelParameterGets the offset to apply to the port's location.
pasteOffsetin GraphClipboardGets or sets a vector that will be used to move nodes and bends by after they have been pasted to the target graph.
pasteOffsetIncrementin GraphClipboardGets or sets the increment the pasteOffset is increased by after a paste operation.
locationin IPortGets a snapshot of the current location of the port.
gridReferencein HierarchicalLayoutNodeDescriptorGets or sets the node's reference point that will be placed on a grid coordinate.
locationin ClickEventArgsGets the location of the click.
clickLocationin ClickInputModeGets the location of the last click.
deltain CollectSnapResultsEventArgsGets the vector by which the mouse has been moved since initialization of the snapping process.
newLocationin CollectSnapResultsEventArgsGets the new (current) location of the mouse that is going to be manipulated by the snapping process.
originalLocationin CollectSnapResultsEventArgsGets the original location of the mouse at the beginning of the gesture.
locationin CreateBendInputModeGets the location where the bend creation gesture was initialized.
startPointin CreateEdgeInputModeGets a copy of the start point at which the edge creation gesture started.
dropLocationin DropInputModeGets the pointer position after dropping an item.
nodeCreatorin GraphEditorInputModeGets or sets the callback that is responsible for creating a new node, for instance, in response to a mouse or stylus click or touch tap.
gridOriginin GridConstraintProviderGets the grid origin.
gridOriginin IGridConstraintProviderGets the canonical origin of the grid.
itemCreatorin ItemDropInputModeGets or sets the callback for item creation.
snappedPointerPositionin ItemDropInputModeGets the current snapped pointer position during drag operations.
locationin LassoPathFinishRegionRenderTagGets the center of the finish region in world coordinates.
startLocationin LassoSelectionInputModeGets the location where the beginRecognizer was triggered and the lasso selection started.
initialLocationin MoveInputModeGets the initial position where the dragging was initiated.
originalLocationin MovementInfoGets the original location of the element at the time the editing started.
queryLocationin QueryClosestHandleEventArgsGets the query location in world coordinates.
queryLocationin QueryPositionHandlerEventArgsGets the location of the movement (where the drag has started).
queryLocationin QueryToolTipEventArgsGets the query location in world coordinates.
bottomRightChangeFactorin ReshapeRectangleContextGets the factor by which the bottom right corner of the node layout changes when the handle is dragged.
topLeftChangeFactorin ReshapeRectangleContextGets the factor by which the top left corner of the node layout changes when the handle is dragged.
centerin SnapCircleGets the center of the circle to snap to in world coordinates.
locationin SnapConstraintA preferred location that satisfies this constraint.
originalLocationin SnapContextGets the original location of the mouse at the time the gesture was initialized.
coordinatesin SnapLineGets the coordinates of the center point of the snap line.
fromin SnapLineGets or sets the first location that delimits this snap line.
toin SnapLineGets or sets the second location that delimits this snap line.
itemAnchorin SnapResultGets the anchor point of the item that is snapped by this result.
toolTipLocationOffsetin ToolTipInputModeGets or sets the tooltip location offset in view coordinates.
locationin EdgePathPointGets the position of the path point.
locationin LayoutBendGets or sets the Point representing the location of the bend.
sourcePortLocationin LayoutEdgeGets or sets the absolute position of the edge's source port.
sourcePortOffsetin LayoutEdgeGets or sets the offset of the edge's source port from the center of its source node.
targetPortLocationin LayoutEdgeGets or sets the absolute position of the edge's target port.
targetPortOffsetin LayoutEdgeGets or sets the offset of the edge's target port from the center of its target node.
offsetin LayoutPortCandidateGets the offset of the candidate relative to the center of the corresponding node.
centerin NodeLayoutGets or sets the position of the layout's center.
topLeftin NodeLayoutGets or sets the position of the layout's top-left corner.
nodeCentersin InteractiveOrganicLayoutDataGets or sets a mapping to define an individual initial center coordinates for each node, which will be set using setCenter upon creation of the handle for a node.
centerOffsetin RadialLayoutNodePlacementResultGets the offset from the center of the circle to the center of the node.
busPointsin EdgeRouterBusDescriptorGets or sets the user-specified bus path that represents the backbone for edges associated with this bus.
computedBusPointsin EdgeRouterBusDescriptorGets the point path that describes the bus computed by the EdgeRouter.
centerin OrthogonalIntervalGets the center of this OrthogonalInterval in the 2D-coordinate system.
offsetin NodeStylePortStyleAdapterGets or sets an offset for the port visualization.
offsetin ShapePortStyleGets or sets an offset for the port visualization.
centerin CanvasComponentGets or sets the world coordinate at the center of the control.
lastEventLocationin CanvasComponentGets the last location provided by a pointing device (for instance mouse or touch).
viewPointin CanvasComponentGets or sets the current viewpoint.
originin GridInfoGets or sets the canonical origin of the grid.
endPointin LinearGradientGets or sets the end point of this gradient.
startPointin LinearGradientGets or sets the start point of this gradient.
originin PatternFillGets or sets the origin of this pattern brush.
locationin PointerEventArgsGets the coordinates in the world coordinate space associated with this event.
queryLocationin PopulateContextMenuEventArgsGets the queried location in world coordinates.
centerin RadialGradientGets or sets the center of this radial gradient.
gradientOriginin RadialGradientGets or sets the origin of this radial gradient.
worldPointsin SvgExportGets or sets the points in world coordinates that are enclosed in the exported area.
centerin ViewportDescriptorThe value to apply to the center

Fields

ORIGINin PointGets a Point instance that has both x and y set to 0.

Method Return Values

getCentroid (Cluster)in KMeansClusteringResultGets the centroid of the cluster.
getBends (TDataItem)in EdgeCreatorObtains an Point array by resolving the bendsProvider.
getUpdatedBends (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the bendsProvider on the given data item.
getCubicSplitPoints (Point, Point, Point, Point, boolean, number)in GeneralPathDetermines new control points for splitting a cubic Bézier segment.
getPoint (number)in GeneralPathGets a point on this path instance at the given ratio.
getConvexHull (IEnumerable<Point>)in GeometryUtilitiesCalculates the convex hull for a set of points.
getEllipseLineIntersection (Rect, Point, Point)in GeometryUtilitiesCalculates the intersection point of an ellipse with a line defined by two points.
getLineLineIntersection (Point, Point, Point, Point)in GeometryUtilitiesCalculates the intersection point of two affine lines.
intersectionPoint (Point, Point, number)in IOrientedRectangleDetermines an intersection point of the given oriented rectangle and the line segment specified by the given endpoints.
from (Point)in IPointCreates a Point instance from the given point-like object by performing automatic type conversion.
toPoint ()in IPointCreates a new Point instance with the same coordinates as this point.
getIntersection (LineSegment, LineSegment, number?)in LineSegmentDetermines the intersection point between two line segments, if they intersect.
multiply (Matrix, Point)in MatrixImplements the vector transformation by calling transform.
transform (Point)in MatrixTransforms the given coordinate.
convertToPointD (MutablePoint)in MutablePointPerforms an explicit conversion from MutablePoint to Point.
add (Point)in PointAdds the given vector to this point.
from (Point)in PointCreates a Point instance from the given point-like object by performing automatic type conversion.
getConstrained (Rect)in PointCreate a constrained copy of this instance that lies within the given non-empty rectangle.
getProjectionOnLine (Point, Point)in PointCalculates the projection of this point onto a line.
getProjectionOnRay (Point, Point)in PointCalculates the projection of this point onto a ray.
getProjectionOnSegment (Point, Point)in PointCalculates the projection of this point onto a segment.
interpolate (Point, Point, number)in PointCalculates a linear interpolation between two points.
midPoint (Point, Point)in PointReturns a point that geometrically lies in the middle of the line formed by the given points.
multiply (number)in PointMultiplies the given factor with this instance using scalar multiplication and returns the result as new instance.
negate ()in PointNegates the coordinates of this instance.
subtract (Point)in PointSubtracts the given vector from this instance and returns the result as new instance.
swap (Point)in PointReturns a copy of the given point with exchanged x- and y-coordinates.
findLineIntersection (Point, Point)in RectFinds the intersection between a rectangle and a line.
getLocation (IPort, IPortLocationModelParameter)in BendAnchoredPortLocationModel
getLocation (IPort, IPortLocationModelParameter)in CompositePortLocationModel
getLocation (IPort, IPortLocationModelParameter)in EdgePathPortLocationModel
getLocation (IPort, IPortLocationModelParameter)in EdgeSegmentPortLocationModel
getLocation (IPort, IPortLocationModelParameter)in FreeNodePortLocationModel
getLocation (IPort, IPortLocationModelParameter)in IPortLocationModelDetermines the location of the port for the given parameter.
constrainNewLocation (IInputModeContext, Point, Point)in ConstrainedDragHandlerApplies the constraints for the new location.
getHandleOffset (IHandle)in HandleInputModeCalculates the offset between the given handle's visual location and its logical location.
getReferenceLocation (IModelItem)in NavigationInputModeDetermines the reference location for a given IModelItem
dragFinished (Point, boolean)in SnapContextCalled when a drag has been successfully finished.
handleMove (Point, boolean)in SnapContextHandles a move.
processSnapResults (List<SnapResult>, Point, Point)in SnapContextChooses the current SnapResults from a temporary list.
adjustTooltipPosition (Point)in ToolTipInputModeAdjust the calculated tooltip position.
getToolTipLocation (Point)in ToolTipInputModeFinds the position in canvas view coordinates to display the tooltip for the given world coordinates.
calculateAnchorPoint (IEnumerable<Rect>)in LayoutAnchoringStageCalculates the anchor point based on the references provided.
getCenter ()in InteractiveOrganicNodeHandleReturns the current center of the node.
getIntersection (INode, Point, Point)in CompositeNodeStyleCalculates the intersection point based on the first style.
getIntersection (INode, Point, Point)in DelegatingNodeStyleGets the intersection of a line with the visual representation of the node from getNode by using the style from getStyle.
getIntersection (INode, IShapeGeometry, IEdge, Point, Point)in EdgePathCropperFinds the intersection between a node and the edge.
getIntersection (Point, Point)in IShapeGeometryReturns the intersection for the given line with this shape's geometry.
getIntersection (INode, Point, Point)in NodeStyleBaseGets the intersection of a line with the visual representation of the node.
intermediateToViewCoordinates (Point)in CanvasComponentConverts intermediate coordinates to view coordinates expressed in the control's coordinate system.
intermediateToWorldCoordinates (Point)in CanvasComponentConverts intermediate coordinates to world coordinates.
pageToViewCoordinates (Point)in CanvasComponentConverts html page coordinates to view coordinates.
pageToWorldCoordinates (Point)in CanvasComponentConverts html page coordinates to world coordinates.
viewToIntermediateCoordinates (Point)in CanvasComponentConverts view coordinates to intermediate coordinates, effectively canceling any projection if set.
viewToPageCoordinates (Point)in CanvasComponentConverts view coordinates to the html page coordinates.
viewToWorldCoordinates (Point)in CanvasComponentConverts coordinates expressed in the component's coordinate system to world coordinates.
worldToIntermediateCoordinates (Point)in CanvasComponentConverts world coordinates to the component's coordinate system before the projection is applied.
worldToViewCoordinates (Point)in CanvasComponentConverts world coordinates to view coordinates expressed in the control's coordinate system.
getPosition (HTMLElement)in DragEventArgsGets the position of the current drag operation in the coordinates system of the provided element.
intermediateToViewCoordinates (Point)in IRenderContextConverts the given set of intermediate coordinates to a coordinate pair that can be used to render within the viewTransform.
worldToIntermediateCoordinates (Point)in IRenderContextConverts the given set of world coordinates to a coordinate pair that can be used to render within the intermediateTransform.
worldToViewCoordinates (Point)in IRenderContextConverts the given set of world coordinates to a coordinate pair that can be used to render within the viewTransform.
getCurrentBoundingPolygon (CanvasComponent, ViewportDescriptor, ViewportLimitingMode)in ViewportLimiterGets the bounding polygon that should be honored for the upcoming limiting call.

Method Parameters

KMeansClustering ()in KMeansClustering
delaunayTriangulation (LayoutGraph, IMapper<LayoutNode,Point>, IMapper<LayoutEdge,LayoutEdge>)in LayoutGraphAlgorithmsComputes a Delaunay triangulation of the given points.
kMeansClustering (LayoutGraph, IMapper<LayoutNode,number>, IMapper<LayoutNode,Point>, KMeansDistanceMetric, number, number?, Point?)in LayoutGraphAlgorithmsPartitions the graph into clusters using the k-means clustering algorithm.
getCubicSplitPoints (Point, Point, Point, Point, boolean, number)in GeneralPathDetermines new control points for splitting a cubic Bézier segment.
areCollinear (Point, Point, Point)in GeometryUtilitiesReturns whether the given points are collinear, that is, all three points lie on a common line.
ellipseContains (Rect, Point, number)in GeometryUtilitiesReturns whether an ellipse contains the given point.
getConvexHull (IEnumerable<Point>)in GeometryUtilitiesCalculates the convex hull for a set of points.
getEllipseLineIntersection (Rect, Point, Point)in GeometryUtilitiesCalculates the intersection point of an ellipse with a line defined by two points.
getLineLineIntersection (Point, Point, Point, Point)in GeometryUtilitiesCalculates the intersection point of two affine lines.
getSegmentRayIntersection (Point, Point, Point, Point)in GeometryUtilitiesCalculates the intersection between a line segment and an infinite ray.
linesIntersect (Point, Point, Point, Point)in GeometryUtilitiesReturns whether the two lines defined by the given coordinates intersect or not.
setCenter (Point)in IMutableRectangleSets the center of the rectangle to the provided value.
intersectionPoint (Point, Point, number)in IOrientedRectangleDetermines an intersection point of the given oriented rectangle and the line segment specified by the given endpoints.
intersects (Point, Point, number)in IOrientedRectangleDetermines whether the given oriented rectangle and the line segment defined by the two given points intersect.
from (Point)in IPointCreates a Point instance from the given point-like object by performing automatic type conversion.
LineSegment (Point, Point)in LineSegmentReturns a new LineSegment.
boxIntersectsSegment (Rect, Point, Point)in LineSegmentChecks whether a line segment intersects a box.
contains (Point, number?)in LineSegmentDetermines whether a specified point lies on this line segment, within an optional tolerance.
isHorizontalSegment (Point, Point, number?)in LineSegmentDetermines whether the specified points define a horizontal line segment within a given tolerance.
isVerticalSegment (Point, Point, number?)in LineSegmentDetermines whether the specified points define a vertical line segment within a given tolerance.
multiply (Matrix, Point)in MatrixImplements the vector transformation by calling transform.
rotate (number, Point, MatrixOrder?)in MatrixPrepends or appends a rotation operation to this matrix around the specified rotation center.
transform (Point)in MatrixTransforms the given coordinate.
translate (Point, MatrixOrder?)in MatrixAppends or Prepends a translation to this instance.
convertFrom (Point)in MutablePointPerforms an implicit conversion from Point to MutablePoint.
MutableRectangle (Point, Size)in MutableRectangleCreates a new instance using the provided values to initialize the position and size.
moveBy (Point)in OrientedRectangleMoves this rectangle by applying the offset to the dynamicAnchor.
add (Point)in PointAdds the given vector to this point.
distanceToSegment (Point, Point)in PointDetermines the distance between this point and a line segment.
equalsEps (Point, number)in PointDetermines whether the two given points have the same coordinates with respect to a certain given eps.
from (Point)in PointCreates a Point instance from the given point-like object by performing automatic type conversion.
getProjectionOnLine (Point, Point)in PointCalculates the projection of this point onto a line.
getProjectionOnRay (Point, Point)in PointCalculates the projection of this point onto a ray.
getProjectionOnSegment (Point, Point)in PointCalculates the projection of this point onto a segment.
hits (Point, number)in PointDetermines if the point lies close to this point given an epsilon.
hitsLineSegment (Point, Point, number)in PointDetermines whether this point hits the line segment with respect to a given radius.
interpolate (Point, Point, number)in PointCalculates a linear interpolation between two points.
midPoint (Point, Point)in PointReturns a point that geometrically lies in the middle of the line formed by the given points.
scalarProduct (Point)in PointCalculates the scalar product of this and the given vector.
scalarProduct (Point, Point)in PointCalculates the scalar product of the two given points.
subtract (Point)in PointSubtracts the given vector from this instance and returns the result as new instance.
swap (Point)in PointReturns a copy of the given point with exchanged x- and y-coordinates.
Rect (Point, Point)in RectCreates a new instance from two points which define the bounds.
Rect (Point, Size)in RectCreates a new instance using the given location as x and y, and the given size as width and height.
add (Point)in RectReturns the union of this rectangle and the given point.
distanceTo (Point)in RectReturns the Euclidean distance between this rectangle and a given point.
findLineIntersection (Point, Point)in RectFinds the intersection between a rectangle and a line.
getTranslated (Point)in RectReturns a translated instance of this instance which has modified x and y by the given amount.
intersectsLine (Point, Point)in RectDetermines whether this rectangle intersects a line.
Tangent (Point, Point)in TangentInitializes a new instance of the Tangent class using the given values for the point and vector properties.
createParameter (IPortOwner, Point)in BendAnchoredPortLocationModel
addBend (ClipboardOperationContext, IEdge, IBend, Point, number)in ClipboardGraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
copy (ClipboardOperationContext, INode, Point?, function(IModelItem, IModelItem):void?)in ClipboardGraphCopierCopies a subgraph from the sourceGraph to the targetGraph as defined in the context.
createGroupNode (ClipboardOperationContext, INode, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceGroupNode in the targetGraph.
createNode (ClipboardOperationContext, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceNode in the targetGraph.
createNode (ClipboardOperationContext, INode, INode, Point)in ClipboardGraphCopierCreates a copy of the sourceNode in the targetGraph.
createParameter (IPortOwner, Point)in CompositePortLocationModelFactory method that creates a parameter for the given owner that tries to match the provided location in absolute world coordinates.
createParameter (IPortOwner, Point)in EdgePathPortLocationModel
createParameter (IPortOwner, Point)in EdgeSegmentPortLocationModel
addBend (Point, number?)in FoldingEdgeStateAdds a new FoldingBendState to this edge state at the given index and location.
createAbsolute (Point, number?)in FreeLabelModelCreates a new label model parameter that places the label at the given absolute position using the provided angle.
createParameter (Point, Point, Point, Point?, number?)in FreeNodeLabelModelCreates a parameter instance that anchors the label to the node at a given position.
createParameterForLayouts (Rect, IOrientedRectangle, Point?)in FreeNodeLabelModelCreates a parameter instance that anchors the labelLayout relative to the nodeLayout.
createParameter (IPortOwner, Point)in FreeNodePortLocationModel
createParameterForRatios (Point, Point?)in FreeNodePortLocationModelCreates a parameter that uses the given ratios and offsets.
createParameter (Point, Point, Point?, number?)in FreePortLabelModelCreates a parameter instance that anchors the label to the port at a given position.
addBend (IEdge, Point, number?)in Graph
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in GraphCreates and returns an edge that connects to the given node instances using the given style instance.
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in Graph
onBendLocationChanged (IBend, Point)in GraphCalled after a bend location has changed.
setBendLocation (IBend, Point)in GraphModifies the location of the given bend.
GraphClipboard ()in GraphClipboardCreates a new initially empty clipboard.
getTargetNode (ClipboardOperationContext, INode, Point)in GraphClipboardProvides a parent group node for the given sourceNode considering the parentNodeDetection.
onPaste (ClipboardOperationContext, function(IModelItem, IModelItem):void, INode?, IEnumerable<IModelItem>?, Point?)in GraphClipboardCalled during paste operation to call copy on the current fromClipboardCopier instance.
paste (IGraph, IEnumerable<IModelItem>?, function(IModelItem, IModelItem):void?, IEnumerable<IModelItem>?, Point?, IInputModeContext?)in GraphClipboardPastes the itemsToPaste from the clipboardGraph to the targetGraph.
addBend (IGraph, IGraph, IEdge, IBend, Point, number)in GraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
copy (IGraph, IGraph, function(IModelItem):boolean, INode?, Point?, function(IModelItem, IModelItem):void?)in GraphCopierCopies a subgraph induced by an IEnumerable<IModelItem> from the sourceGraph to the targetGraph.
copy (IGraph, IGraph, IEnumerable<IModelItem>?, INode?, Point?, function(IModelItem, IModelItem):void?)in GraphCopierCopies a subgraph induced by an IEnumerable<IModelItem> from the sourceGraph to the targetGraph.
createGroupNode (IGraph, IGraph, INode, INode, Point)in GraphCopierCreates a copy of the sourceGroupNode in the targetGraph.
createNode (IGraph, IGraph, INode, Point)in GraphCopierCreates a copy of the sourceNode in the targetGraph.
createNode (IGraph, IGraph, INode, INode, Point)in GraphCopierCreates a copy of the sourceNode in the targetGraph.
addBend (IEdge, Point, number?)in GraphWrapperBase
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in GraphWrapperBase
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in GraphWrapperBase
onBendLocationChanged (IBend, Point)in GraphWrapperBaseRaises the bend-location-changed event
setBendLocation (IBend, Point)in GraphWrapperBase
addBend (IEdge, Point, number?)in IGraphAdds a bend at the given index to the given edge using the coordinates provided.
addBends (IEdge, IEnumerable<Point>)in IGraphAdds bends with the given locations to the end of the bend list of the given edge.
addPortAt (IPortOwner, Point, IPortStyle?, IPort['tag']?)in IGraphAdd a port to the given port owner using the absolute coordinates as the new initial position of the port anchor.
addRelativePort (INode, Point)in IGraphAdds a new port to the graph at the node using a location that is relative to the center of the node.
createDefaultPortLocationParameter (IPortOwner, Point?)in IGraphCreates a location model parameter for a newly created IPort at the owner that matches the location.
createEdge (IPort, IPort, IEdgeStyle?, IEdge['tag']?, )in IGraphCreates and returns an edge that connects to the given port instances.
createEdge (INode, INode, IEdgeStyle?, IEdge['tag']?, )in IGraphCreates and returns an edge that connects to the given node instances using the given style instance.
createNodeAt (Point, INodeStyle?, INode['tag']?, )in IGraphCreates and returns a node using the specified initial center location and style, as well as the tag.
setBendLocation (IBend, Point)in IGraphModifies the location of the given bend.
setNodeCenter (INode, Point)in IGraphSets the center of a node to the given world coordinates.
setPortLocation (IPort, Point)in IGraphTries to set the absolute coordinates of the given port to the given values.
setRelativePortLocation (IPort, Point)in IGraphTries to set the location of the port relative to its owner if the owner is a node.
createParameter (IPortOwner, Point)in IPortLocationModelFactory method that creates a parameter for the given owner that tries to match the provided location in absolute world coordinates.
findColumn (INode, Point, function(IStripe):boolean?)in ITableFinds a column underneath a certain point.
findRow (INode, Point, function(IStripe):boolean?)in ITableFinds a row underneath a certain point.
findStripe (Point, StripeTypes, StripeSubregionTypes, IInputModeContext, function(StripeSubregion):boolean?)in ITableFinds a stripe underneath a certain point.
findStripes (INode, Point, StripeTypes, function(IStripe):boolean?)in ITableFinds all stripes underneath a certain point.
findStripes (Point, StripeTypes, StripeSubregionTypes, IInputModeContext, function(StripeSubregion):boolean?)in ITableUsed as a callback to find the items underneath a certain point.
setLocation (Point)in SimplePortSets the location of this port.
HierarchicalLayoutNodeDescriptor ()in HierarchicalLayoutNodeDescriptorCreates a new instance of a HierarchicalLayoutNodeDescriptor with the default values.
ClickEventArgs (IInputModeContext, Point, PointerButtons, number, PointerEventArgs)in ClickEventArgsInitializes a new instance of the ClickEventArgs class.
CollectSnapResultsEventArgs (IInputModeContext, Point, Point, number, number, ICollection<SnapResult>)in CollectSnapResultsEventArgsCreates a new instance of the event arguments using the provided values for initialization.
cancelDrag (IInputModeContext, Point)in ConstrainedDragHandlerCancels the move operation and calls onCanceled
constrainNewLocation (IInputModeContext, Point, Point)in ConstrainedDragHandlerApplies the constraints for the new location.
dragFinished (IInputModeContext, Point, Point)in ConstrainedDragHandlerHandles the finish operation and invokes onFinished
handleMove (IInputModeContext, Point, Point)in ConstrainedDragHandlerHandles the move operation and subsequently calls onMoved
onCanceled (IInputModeContext, Point)in ConstrainedDragHandlerCalled when the cancelDrag method has been called.
onFinished (IInputModeContext, Point, Point)in ConstrainedDragHandlerCalled when the dragFinished method has been called.
onInitialized (IInputModeContext, Point)in ConstrainedDragHandlerCalled when the initializeDrag method has been called.
onMoved (IInputModeContext, Point, Point)in ConstrainedDragHandlerCalled when the handleMove operation has been performed.
onMenuOpening (Point)in ContextMenuInputModePopulates the context menu for the given world coordinate.
createBend (IEdge, Point)in CreateBendInputModeCreates the bend.
dragSegment (IEdge, Point)in CreateBendInputModeUpdates the splitOrthogonalSegment property and then delegates to createBend.
getEdge (Point)in CreateBendInputModeFinds the edge at the given coordinates.
createPreviewBend (Point)in CreateEdgeInputModeCreates a preview bend at the given location and adds it to the previewEdge that will be displayed by the input mode during the creation.
getEndPortCandidateProvider (IPortCandidate, Point)in CreateEdgeInputModeRetrieves the IPortCandidateProvider instance that provides the possible candidates for the end of the edge given the current start candidate.
getEndPortCandidateProvider (IPortCandidate, IPortOwner, Point)in CreateEdgeInputModeRetrieves the port candidate provider instance given a start port candidate and a possible ending item.
getEndPortCandidates (Point, boolean)in CreateEdgeInputModeRetrieves the end port candidates for a given location in world coordinates.
getEndPortOwner (Point)in CreateEdgeInputModeFinds the end port owner at the specified location.
getPortOwner (Point)in CreateEdgeInputModeRetrieves the port owner at a given position in world coordinates.
getStartPortCandidate (Point)in CreateEdgeInputModeFinds the best matching start port candidate based on the given location.
getStartPortCandidateProvider (Point)in CreateEdgeInputModeFinds the start port candidate provider at the specified location.
getStartPortCandidates (Point)in CreateEdgeInputModeGets the start port candidates for the given location.
getStartPortOwner (Point)in CreateEdgeInputModeFinds the start port owner at the specified location.
measureDistance (IPortCandidate, Point)in CreateEdgeInputModeMeasures the distance between a port candidate and a given location.
relocateDragPoint (Point)in CreateEdgeInputModeSets the position of the dragged end of the edge during creation.
resolveCandidates (IEnumerable<IPortCandidate>, Point)in CreateEdgeInputModeReturns an enumerable over the given candidates where no instance has DYNAMIC validity.
selectClosestCandidate (IEnumerable<IPortCandidate>, Point)in CreateEdgeInputModeFinds the closest VALID candidate given a number of IPortCandidates and a location in world coordinates.
selectClosestEndCandidate (IEnumerable<IPortCandidate>, Point)in CreateEdgeInputModeFinds the closest end candidate given a number of IPortCandidates and a location in world coordinates.
selectClosestStartCandidate (IEnumerable<IPortCandidate>, Point)in CreateEdgeInputModeFinds the closest candidate given a number of IPortCandidates and a location in world coordinates.
selectStartPortCandidate (IEnumerable<IPortCandidate>, Point, boolean)in CreateEdgeInputModeFinds the best matching start port IPortCandidate for the given candidates at the provided location.
updateEndLocation (Point)in CreateEdgeInputModeUpdates the dragged end point of the edge.
setDragLocation (Point)in DropInputModeThis method updates the pointerPosition according to the coordinates passed in.
addHorizontalSegmentSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Point, Point)in EdgeSnapReferenceProviderAdds horizontal snap lines for a horizontally oriented fixed segment snap lines.
addVerticalSegmentSnapLines (GraphSnapContext, CollectSnapReferencesEventArgs, Point, Point)in EdgeSnapReferenceProviderAdds vertical snap lines for a vertically oriented fixed segment snap lines.
GraphEditorInputMode ()in GraphEditorInputModeCreates a new instance that is not bound to an existing graph or selection, initially.
clickCreateNode (IInputModeContext, Point)in GraphEditorInputModeCreates a node on a pointer click or tap.
createNode (Point)in GraphEditorInputModeCreates a node at the given location.
pasteAtLocation (Point)in GraphEditorInputModePastes the current clipboard contents at the given location.
setNodeLocation (INode, Point)in GraphEditorInputModeUpdates the location of the node.
findItems (Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
findItems (IInputModeContext, Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
handleClickListener (IInputModeContext, IModelItem, Point)in GraphInputModeCalled by click to query the item for an IClickListener in its lookup and handle it appropriately.
shouldSkipHitLabel (IInputModeContext, ILabel, Point)in GraphInputModeCallback function that is used during hit testing, when an ILabel was hit tested before another non-label underneath it was reported.
initializeDrag (IInputModeContext, Point)in GraphSnapContextCalled by IInputMode implementations when an interactive drag is started.
cancelDrag (IInputModeContext, Point)in GroupingNodePositionHandler
dragFinished (IInputModeContext, Point, Point)in GroupingNodePositionHandler
handleMove (IInputModeContext, Point, Point)in GroupingNodePositionHandler
getClosestHandleAt (Point)in HandleInputModeFinds the closest hit handle for the given world coordinate pair.
getClosestHitHandle (Point, PointerType)in HandleInputModeFinds the closest hit handle for the given world coordinate pair.
handleIsHit (IHandle, Point, Point, PointerType)in HandleInputModeDetermines whether a given handle has been visually hit by the mouse at the given world coordinates.
create (function(IInputModeContext, IGraph, Point):number)in IBendCreator
createBend (IInputModeContext, IGraph, Point)in IBendCreatorCreates a bend at the position supplied at the given graph for the edge whose lookup provided this creator.
create ()in IBendGridConstraintProvider
create ()in IBendSelectionTester
getHitBend (IInputModeContext, Point)in IBendSelectionTesterReturns the bend at the given world coordinate position.
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
create ()in IClickListener
onClicked (IInputModeContext, Point)in IClickListenerCalled by the framework to indicate that the IModelItem has been clicked by the user at the specified location.
cancelDrag (IInputModeContext, Point)in IDragHandlerCalled by clients to indicate that the dragging has been canceled by the user.
create ()in IDragHandler
dragFinished (IInputModeContext, Point, Point)in IDragHandlerCalled by clients to indicate that the repositioning has just been finished.
handleMove (IInputModeContext, Point, Point)in IDragHandlerCalled by clients to indicate that the element has been dragged and its position should be updated.
create ()in IGridConstraintProvider
create ()in IHandle
create (function(IInputModeContext, Point):boolean)in IHitTestableWraps a hit testable handler into an IHitTestable interface.
isHit (IInputModeContext, Point)in IHitTestableDetermines if something has been hit at the given coordinates in the world coordinate system.
create (function(IInputModeContext, Point, GraphItemTypes):IEnumerable<IModelItem>)in IHitTester
enumerateHits (IInputModeContext, Point, GraphItemTypes?)in IHitTesterYields an enumerable that enumerates the hits for a given world coordinate.
create ()in ILabelGridConstraintProvider
create ()in ILabelOwnerGridConstraintProvider
create ()in INodeGridConstraintProvider
getPortCandidateAt (IInputModeContext, Point)in IPortCandidateReturns a candidate that is derived from this instance that best fits the provided location.
create ()in IPortGridConstraintProvider
create ()in IPortSelectionTester
getHitPort (IInputModeContext, Point)in IPortSelectionTesterReturns the port at the given world coordinate position or null if there is no such port.
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
create ()in IPositionHandler
ItemClickedEventArgs (T, IInputModeContext, Point, PointerButtons, number, PointerEventArgs)in ItemClickedEventArgsInitializes a new instance of the ItemClickedEventArgs<T> class.
ItemDropInputMode (string, )in ItemDropInputModeInitializes a new instance of the ItemDropInputMode<T> class for the given data type.
getDropTarget (Point)in ItemDropInputModeReturns the drop target at the specified location.
setDragLocation (Point)in ItemDropInputModeSets the drag location and calls updatePreview to update the layout of item preview based on the pointer coordinates and the results of the snapContext.
updateDropTarget (Point)in ItemDropInputModeCalls getDropTarget for snappedPointerPosition and sets the returned item as dropTarget.
updatePreview (IGraph, Point)in ItemDropInputModeSubclasses shall update the previewGraph so the dragged item is displayed at the specified dragLocation.
getHitItemsAt (Point)in ItemHoverInputModeGets the items that have been hit at the given location.
updateHover (Point?)in ItemHoverInputModeForces a reevaluation of the item that the pointer is currently hovering over or at a specific location.
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
getDropTarget (Point)in LabelDropInputModeLooks for a valid label owner at the dragLocation.
getLabelLayout (Point, ILabel)in LabelDropInputModeGet the layout the dragged label currently has.
getNewLabelModelParameter (ILabelOwner, ILabel, Point)in LabelDropInputModeDetermines the ILabelModelParameter the label should have if it was dropped at dragLocation over owner.
updatePreview (IGraph, Point)in LabelDropInputMode
cancelDrag (IInputModeContext, Point)in LabelPositionHandler
dragFinished (IInputModeContext, Point, Point)in LabelPositionHandler
getDistance (IOrientedRectangle, Point)in LabelPositionHandlerCalculates a distance value between a candidate rectangle and the mouse location.
handleMove (IInputModeContext, Point, Point)in LabelPositionHandler
isValidEndLocation (Point)in LassoSelectionInputModeUsed by the finishRecognizer and finishRecognizerTouch to check the current cursor position.
calculateMarqueeRectangle (Point, Point)in MarqueeSelectionInputModeCalculates the location and size of the marquee rectangle.
startDrag (Point)in MoveInputModeSimulates the start of a drag and puts the state machine into the dragging state.
MovementInfo (Point, MoveTypes, IModelItem)in MovementInfoInitializes a new instance of the MovementInfo class.
NodeDropInputMode (string, )in NodeDropInputModeInitializes a new instance of the NodeDropInputMode class for the given data type.
getDropTarget (Point)in NodeDropInputMode
getNodeLayout (Point, Size)in NodeDropInputModeCalculates the layout of the new node.
updatePreview (IGraph, Point)in NodeDropInputMode
cancelDrag (IInputModeContext, Point)in NodeReshapeHandlerHandle
dragFinished (IInputModeContext, Point, Point)in NodeReshapeHandlerHandle
handleMove (IInputModeContext, Point, Point)in NodeReshapeHandlerHandle
createCenterSnapLine (GraphSnapContext, SnapLineOrientation, Point)in NodeSnapReferenceProviderCreates a snap line for the center of the node.
collectGridSnapResult (GraphSnapContext, CollectSnapResultsEventArgs, SnapGrid, Point, INode)in NodeSnapResultProviderCalculates a SnapResult and adds it to the argument.
OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, number, number, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in OrthogonalSnapLineCollects a valid SnapResult that snaps the movedPoint to this orthogonal line.
PopulateItemContextMenuEventArgs (IInputModeContext, Point, TModelItem)in PopulateItemContextMenuEventArgsInitializes a new instance of the PopulateItemContextMenuEventArgs<TModelItem> class.
getPortCandidateAt (IInputModeContext, Point)in PortCandidateReturns a candidate that is derived from this instance that best fits the provided location.
getPortCandidateAt (IInputModeContext, PortCandidate, Point)in PortCandidateProviderBaseCallback method used by the ports created using the factory methods createCandidate.
PortDropInputMode (string, )in PortDropInputModeInitializes a new instance of the PortDropInputMode class for the given data type.
getDropTarget (Point)in PortDropInputModeLooks for a valid port owner at the dragLocation.
getNewPortLocationModelParameter (IPortOwner, IPort, Point)in PortDropInputModeDetermines the IPortLocationModelParameter the port should have if it was dropped at dragLocation over owner.
updatePreview (IGraph, Point)in PortDropInputMode
cancelDrag (IInputModeContext, Point)in PortLocationModelParameterHandle
dragFinished (IInputModeContext, Point, Point)in PortLocationModelParameterHandle
getNewParameter (IPort, IPortLocationModel, Point)in PortLocationModelParameterHandleObtains the new parameter for the given location and port.
handleMove (IInputModeContext, Point, Point)in PortLocationModelParameterHandle
cancelDrag (IInputModeContext, Point)in PortRelocationHandle
dragFinished (IInputModeContext, Point, Point)in PortRelocationHandle
filterCandidates (IInputModeContext, Point, IEnumerable<IPortCandidate>)in PortRelocationHandleFilters the given allCandidates to return the subset of candidates which are relevant at the given location.
getClosestCandidate (IInputModeContext, Point, IEnumerable<IPortCandidate>)in PortRelocationHandleFinds the closest candidate from the given set of candidates.
getCurrentOwner (IInputModeContext, Point)in PortRelocationHandleGets the IPortOwner at the given location.
getPort (IInputModeContext, IPortCandidate, Point)in PortRelocationHandleCalled during dragFinished to actually get the new port from the chosen candidate.
handleMove (IInputModeContext, Point, Point)in PortRelocationHandle
resolveCandidate (IInputModeContext, IPortCandidate, Point)in PortRelocationHandleTries to resolve a dynamic port candidate for the given location.
setPort (IInputModeContext, IEdge, boolean, IPortCandidate, Point)in PortRelocationHandleTriggered by dragFinished to actually change the port.
setPosition (Point)in PortRelocationHandleUpdates the position of the handle.
QueryClosestHandleEventArgs (IInputModeContext, Point)in QueryClosestHandleEventArgsInitializes a new instance of the QueryClosestHandleEventArgs class.
QueryItemToolTipEventArgs (IInputModeContext, Point, TModelItem)in QueryItemToolTipEventArgsInitializes a new instance of the QueryItemToolTipEventArgs<TModelItem> class.
QueryPositionHandlerEventArgs (IInputModeContext, Point)in QueryPositionHandlerEventArgsInstantiates a new QueryPositionHandlerEventArgs
QueryToolTipEventArgs (IInputModeContext, Point)in QueryToolTipEventArgsInitializes a new instance of the QueryToolTipEventArgs class.
cancelDrag (IInputModeContext, Point)in RectangleHandleDelegates the original values to set.
dragFinished (IInputModeContext, Point, Point)in RectangleHandleThis implementation does nothing.
handleMove (IInputModeContext, Point, Point)in RectangleHandleDelegates to set.
moveBy (Point)in RectangleHandleModifies the rectangle.
cancelDrag (IInputModeContext, Point)in ReparentStripePositionHandler
dragFinished (IInputModeContext, Point, Point)in ReparentStripePositionHandler
getTargetSubregion (Point)in ReparentStripePositionHandlerFinds the target stripe subregion at location and its associated owner node.
handleMove (IInputModeContext, Point, Point)in ReparentStripePositionHandler
setPosition (Point)in ReparentStripePositionHandlerCalled by clients to set the position to the given coordinates.
cancelDrag (IInputModeContext, Point)in ReshapeHandlerHandleDelegates the cancel request to the IReshapeHandler.
dragFinished (IInputModeContext, Point, Point)in ReshapeHandlerHandleDelegates the finish request to the IReshapeHandler using the last bounds calculated by handleMove.
handleMove (IInputModeContext, Point, Point)in ReshapeHandlerHandleTranslates the move request into new bounds and delegates applying the new bounds to the handleReshape method.
ReshapeRectangleContext (Rect, ISize, ISize, IRectangle, IRectangle, HandlePositions, Point, Point, Size, ReshapePolicy, number)in ReshapeRectangleContextInitializes a new instance of the ReshapeRectangleContext class.
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.
calculateLayout (Point)in ReshapeRectangleContextCalculates the layout of the node when the pointer would be moved delta from the initial location.
isValidBeginLocation (Point)in ResizeStripeInputModeCalled to determine whether it is valid to begin the gesture.
SnapCircle (Point, number, number, number, number, GraphItemTypes, any?)in SnapCircleCreates a new snap reference using the provided information.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point, number)in SnapCircleCollects a valid SnapResult that snaps the movedPoint to this circle.
SnapConstraint (Point)in SnapConstraintCreates a new instance using the given location.
createCircleConstraint (Point, Point, number, Point, number, number?, number?)in SnapConstraintCreates a constraint describing the points on a circle defined by the given center and radius.
createLineConstraint (Point, Point, number, Point)in SnapConstraintCreates a constraint describing an affine line defined by the given location and direction.
createPointConstraint (Point)in SnapConstraintCreates a constraint describing the single valid given location.
isValid (Point)in SnapConstraintReturns if the finalLocation satisfies this constraint.
dragFinished (Point, boolean)in SnapContextCalled when a drag has been successfully finished.
dragged (Point, Point)in SnapContextThis method needs to be called by the client IInputMode that initialized this instance after it has performed the actual move operation with the adjusted coordinates after a call to handleMove.
handleMove (Point, boolean)in SnapContextHandles a move.
initializeDrag (IInputModeContext, Point)in SnapContextCalled by IInputMode implementations when an interactive drag is started.
processSnapResults (List<SnapResult>, Point, Point)in SnapContextChooses the current SnapResults from a temporary list.
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.
SnapLine (SnapReferenceVisualizationType, Point, Point, Point, number, GraphItemTypes?, any?)in SnapLineCreates a new snap line using the provided attributes.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in SnapLineCollects a valid SnapResult that snaps the movedPoint to this line.
SnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultInitializes the tag, weight and constraint with the given values.
createCircleSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapCircle, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult that snaps to a given circle.
createLineSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapLine, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which represents a SnapLine to which the current moved item will potentially snap.
createSnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult using the given constraint.
StripeDropInputMode (string, )in StripeDropInputModeInitializes a new instance of the StripeDropInputMode class for the given data type.
getPreviewTableLayout (Point, Size)in StripeDropInputModeCalculates the layout of the new table.
setDragLocation (Point)in StripeDropInputMode
updatePreview (IGraph, Point)in StripeDropInputMode
enumerateHits (IInputModeContext, Point, INode)in StripeHitTesterReturn a collection of hits at location.
findStripe (Point, StripeTypes, StripeSubregionTypes, function(StripeSubregion):boolean?)in TableEditorInputModeUsed as a callback to find the items underneath a certain point.
findStripes (Point, StripeTypes, StripeSubregionTypes, function(StripeSubregion):boolean?)in TableEditorInputModeUsed as a callback to find the items underneath a certain point.
TableItemClickedEventArgs (T, StripeSubregion, INode, IInputModeContext, Point, PointerButtons, number, PointerEventArgs)in TableItemClickedEventArgsInitializes a new instance of the TableItemClickedEventArgs<T> class.
ToolTipInputMode ()in ToolTipInputModeCreates a new instance using the provided optional text provider.
adjustTooltipPosition (Point)in ToolTipInputModeAdjust the calculated tooltip position.
getToolTipContent (Point)in ToolTipInputModeCallback method that provides a text for the given location, a Promise<T> providing a text or null.
getToolTipLocation (Point)in ToolTipInputModeFinds the position in canvas view coordinates to display the tooltip for the given world coordinates.
onShow (Point, any?)in ToolTipInputModeTriggered when the mouse hovers over the given coordinates.
show (Point, any?)in ToolTipInputModeShows the tooltip at the given location.
LabelCandidate (Point, Size, number?)in LabelCandidateCreates a new instance of LabelCandidate describing a paraxial rectangle with the given location and size.
setComponentLocation (LayoutGraph, SubgraphComponent, Point)in ComponentLayoutMoves the top-left corner of the subgraph containing the specified nodes and edges to the given location.
addFixedCandidate (PortSides, Point?, number?, any?)in EdgePortCandidatesAdds a fixed LayoutPortCandidate at a specific position.
setEdgePortLocation (IPort, Point)in LayoutGraphAdapterCallback method that assigns a new location that matches newLocation to the edge port.
setNodePortLocation (IPort, Point)in LayoutGraphAdapterCallback method that assigns a new location that matches newLocation to the node port.
createFixed (PortSides, Point?, number?, number?, any?)in LayoutPortCandidateFactory method that creates a fixed port candidate with the given side, offset, and cost of usage.
createRotationStage (number, Point?)in LayoutTransformationsCreates an ILayoutStage that rotates the LayoutGraph clockwise by a given rotationAngle.
createScalingStage (number?, number?, boolean?, Point?)in LayoutTransformationsCreates an ILayoutStage that scales the LayoutGraph.
addFixedCandidate (PortSides, Point, number?, number?, any?)in NodePortCandidatesAdds a fixed LayoutPortCandidate at a specific position.
InteractiveOrganicLayoutData ()in InteractiveOrganicLayoutDataCreates a new instance of InteractiveOrganicLayoutData.
addGroupSegment (any, any, Point, Point)in ChannelRoutingToolAdds an edge object that belongs to an edge group to the set of elements that should be routed within the channel.
addSegment (any, Point, Point)in ChannelRoutingToolAdds an edge object with endpoints p1 and p2 to the set of elements that should be routed within the channel.
EdgeRouterBusDescriptor ()in EdgeRouterBusDescriptor
getBoundsProvider (IEdge, boolean, Point, Point)in Arrow
getVisualCreator (IEdge, boolean, Point, Point)in Arrow
isHit (IInputModeContext, Point, IEdge)in CompositeEdgeStyleChecks whether any style is hit at the given location.
isHit (IInputModeContext, Point, ILabel)in CompositeLabelStyleChecks whether any style is hit at the given location.
getIntersection (INode, Point, Point)in CompositeNodeStyleCalculates the intersection point based on the first style.
isHit (IInputModeContext, Point, INode)in CompositeNodeStyleChecks whether any style is hit at the given location.
isInside (INode, Point)in CompositeNodeStyleDetermines if the location is inside the node based on the first style.
isHit (IInputModeContext, Point, IPort)in CompositePortStyleChecks whether any style is hit at the given location.
isHit (IInputModeContext, Point, IEdge)in DelegatingEdgeStyleDetermines with the style from getStyle whether the visualization of the edge from getEdge is hit at the given location.
isHit (IInputModeContext, Point, ILabel)in DelegatingLabelStyleDetermines with the style from getStyle whether the visualization of the label from getLabel is hit at the given location.
getIntersection (INode, Point, Point)in DelegatingNodeStyleGets the intersection of a line with the visual representation of the node from getNode by using the style from getStyle.
isHit (IInputModeContext, Point, INode)in DelegatingNodeStyleDetermines with the style from getStyle whether the visualization of the node from getNode is hit at the given location.
isInside (INode, Point)in DelegatingNodeStyleDetermines whether the provided point is inside the visual bounds of the node from getNode by using the style from getStyle.
isHit (IInputModeContext, Point, IPort)in DelegatingPortStyleDetermines with the style from getStyle whether the visualization of the port from getPort is hit at the given location.
getIntersection (INode, IShapeGeometry, IEdge, Point, Point)in EdgePathCropperFinds the intersection between a node and the edge.
isInside (Point, INode, IShapeGeometry, IEdge)in EdgePathCropperChecks whether a given point is inside a node's shape geometry with respect to the edge that is being calculated.
isHit (IInputModeContext, Point, IEdge)in EdgeStyleBaseDetermines whether the visual representation of the edge has been hit at the given location.
getBoundsProvider (IEdge, boolean, Point, Point)in IArrowGets an IBoundsProvider implementation that can yield this arrow's bounds if rendered at the given location using the given direction for the given edge.
getVisualCreator (IEdge, boolean, Point, Point)in IArrowGets an IVisualCreator implementation that will render this arrow at the given location using the given direction for the given edge.
create ()in IShapeGeometry
getIntersection (Point, Point)in IShapeGeometryReturns the intersection for the given line with this shape's geometry.
isInside (Point)in IShapeGeometryChecks whether the given coordinate is deemed to lie within the shape's geometric bounds.
isHit (IInputModeContext, Point, ILabel)in LabelStyleBaseDetermines whether the visual representation of the label has been hit at the given location.
getIntersection (INode, Point, Point)in NodeStyleBaseGets the intersection of a line with the visual representation of the node.
isHit (IInputModeContext, Point, INode)in NodeStyleBaseDetermines whether the visual representation of the node has been hit at the given location.
isInside (INode, Point)in NodeStyleBaseDetermines whether the provided point is geometrically inside the visual bounds of the node.
NodeStylePortStyleAdapter (INodeStyle?, )in NodeStylePortStyleAdapterCreates a port style that uses the provided node style to render the port.
isHit (IInputModeContext, Point, IEdge)in PathEdgeStyleBaseDetermines whether the visual representation of the edge has been hit at the given location.
isHit (IInputModeContext, Point, IPort)in PortStyleBaseDetermines whether the visual representation of the port has been hit at the given location.
ShapePortStyle ()in ShapePortStyleInitializes a new instance of this class.
insertDefaultCustomBridge (IRenderContext, GeneralPath, Point, Point, number)in BridgeManagerImplementation that will be called by the default value of the defaultBridgeCreator to satisfy requests to createCustomBridge.
registerObstacleCubicCurve (IRenderContext, Point, Point, Point, Point)in BridgeManagerDynamically registers a single obstacle cubic curve with the context during the rendering.
registerObstacleLine (IRenderContext, Point, Point)in BridgeManagerDynamically registers a single obstacle line with the context during the rendering.
registerObstacleQuadCurve (IRenderContext, Point, Point, Point)in BridgeManagerDynamically registers a single obstacle quadratic curve with the context during the rendering.
ensureVisible (IEnumerable<Point>, Insets?, ViewportLimitingMode?)in CanvasComponentEnsures that the provided points in world coordinates are all visible by adjusting the viewport accordingly.
getViewportAnimationDuration (Point, number, ViewportChanges)in CanvasComponentDetermines the animation duration for a viewport animation.
intermediateToViewCoordinates (Point)in CanvasComponentConverts intermediate coordinates to view coordinates expressed in the control's coordinate system.
intermediateToWorldCoordinates (Point)in CanvasComponentConverts intermediate coordinates to world coordinates.
pageToViewCoordinates (Point)in CanvasComponentConverts html page coordinates to view coordinates.
pageToWorldCoordinates (Point)in CanvasComponentConverts html page coordinates to world coordinates.
viewToIntermediateCoordinates (Point)in CanvasComponentConverts view coordinates to intermediate coordinates, effectively canceling any projection if set.
viewToPageCoordinates (Point)in CanvasComponentConverts view coordinates to the html page coordinates.
viewToWorldCoordinates (Point)in CanvasComponentConverts coordinates expressed in the component's coordinate system to world coordinates.
worldToIntermediateCoordinates (Point)in CanvasComponentConverts world coordinates to the component's coordinate system before the projection is applied.
worldToViewCoordinates (Point)in CanvasComponentConverts world coordinates to view coordinates expressed in the control's coordinate system.
zoomTo (number, Point?)in CanvasComponentSets the zoom level and viewport center to the given values.
zoomToAnimated (number, Point?)in CanvasComponentTransitions to a new zoom level and viewport center in an animated fashion.
GraphComponent (HTMLElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.
hitElementsAt (Point, IInputModeContext?, IRenderTreeGroup?, GraphItemTypes?)in GraphModelManagerEnumerates hits in the render tree of the canvas at a given world coordinate position for a given context and IRenderTreeGroup.
GridInfo (number?, number?, Point?)in GridInfoCreates a new instance using the given horizontal and vertical grid spacing as well as the given origin.
createEdgeSegmentAnimation (IGraph, IEdge, IPoint, Point, Point, TimeSpan)in IAnimationCreates a new IAnimation that animates the given edge's bends from its current shape linearly to the shape given by the endBends and final port locations.
create ()in IBridgeCreator
createCustomBridge (IRenderContext, GeneralPath, Point, Point, number)in IBridgeCreatorCalled by the BridgeManager if the getCrossingStyle method yields CUSTOM to actually insert a bridge into the given GeneralPath.
intermediateToViewCoordinates (Point)in IRenderContextConverts the given set of intermediate coordinates to a coordinate pair that can be used to render within the viewTransform.
worldToIntermediateCoordinates (Point)in IRenderContextConverts the given set of world coordinates to a coordinate pair that can be used to render within the intermediateTransform.
worldToViewCoordinates (Point)in IRenderContextConverts the given set of world coordinates to a coordinate pair that can be used to render within the viewTransform.
LinearGradient ()in LinearGradientInitializes a new instance of the LinearGradient class.
isHit (IInputModeContext, Point, TRenderTag)in ObjectRendererBaseDetermines whether the visual representation of the node has been hit at the given location.
PatternFill ()in PatternFillInitializes a new instance of the PatternFill class.
PointerEventArgs (PointerEventType?, Point?, PointerButtons?, ModifierKeys?, PointerButtons?, ModifierKeys?, number?, PointerType?, boolean?, number?, Size?, number?, UIEvent?, number?, number?)in PointerEventArgsConstructs a new pointer event argument.
PopulateContextMenuEventArgs (IInputModeContext, Point)in PopulateContextMenuEventArgsInitializes a new instance of the PopulateContextMenuEventArgs class.
RadialGradient ()in RadialGradientInitializes a new instance of the RadialGradient class.
hitElementsAt (Point, IInputModeContext?, IRenderTreeGroup?)in RenderTreeReturns an IEnumerable<T> of all hit elements in the canvas below the given group.
isHit (IRenderTreeElement, Point)in RenderTreeTests if a given render tree element is hit at the given location.
SvgExport (Rect, number?, )in SvgExportCreates a new SvgExport instance for the given world bounds and scale.
applyCenterPoint (Point)in ViewportAnimationEffectively applies the center point value.
applyViewPoint (Point)in ViewportAnimationEffectively applies the viewpoint value.
ViewportDescriptor (Point, number)in ViewportDescriptorCreates a new instance with the specified center and zoom.
hitElementsAt (Point, IInputModeContext?, IRenderTreeGroup?, GraphItemTypes?)in WebGLGraphModelManager