| Package | Description |
|---|---|
| com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl. |
| Modifier and Type | Class and Description |
|---|---|
class |
GridConstraintProvider<T>
A simple integer based implementation of
IGridConstraintProvider. |
| Modifier and Type | Method and Description |
|---|---|
IGridConstraintProvider<IBend> |
GraphSnapContext.getBendGridConstraintProvider()
Gets the grid constraint provider for the
IBends. |
IGridConstraintProvider<INode> |
GraphSnapContext.getNodeGridConstraintProvider()
Gets the grid constraint provider for the
INodes. |
IGridConstraintProvider<IPort> |
GraphSnapContext.getPortGridConstraintProvider()
Gets the grid constraint provider for the
IPorts. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NodeReshapeSnapResultProvider.addGridSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
IGridConstraintProvider<INode> provider,
PointD gridSnappedPoint,
PointD snappedLocation)
Adds a snap result for a location that snaps to the grid.
|
void |
GraphSnapContext.setBendGridConstraintProvider(IGridConstraintProvider<IBend> value)
Sets the grid constraint provider for the
IBends. |
void |
GraphSnapContext.setNodeGridConstraintProvider(IGridConstraintProvider<INode> value)
Sets the grid constraint provider for the
INodes. |
void |
GraphSnapContext.setPortGridConstraintProvider(IGridConstraintProvider<IPort> value)
Sets the grid constraint provider for the
IPorts. |