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 |
NodeBasedSnapLine
A specialized
OrthogonalSnapLine that stores a Node as additional information that can be
used for the visualization. |
class |
NodePairBasedSnapLine
A specialized
OrthogonalSnapLine that stores two nodes as additional information that can be used
for the visualization. |
class |
PointBasedSnapLine
A specialized
OrthogonalSnapLine that stores a Point instance as additional information that
can be used for the visualization. |
Modifier and Type | Method and Description |
---|---|
protected OrthogonalSnapLine |
NodeSnapLineProvider.createCenterSnapLine(GraphSnapContext context,
INode node,
SnapLineOrientation orientation,
PointD location)
Convenience method that creates a snap line for the center of nodes.
|
Modifier and Type | Method and Description |
---|---|
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getAdditionalSnapLines()
The collection of additional
OrthogonalSnapLine s. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getAdditionalSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
AdditionalSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
protected IEnumerable<OrthogonalSnapLine> |
CreateEdgeInputMode.getDummyEdgeSnapLines(GraphSnapContext context,
ISnapLineProvider provider)
Gets the snap lines lines that are induced by the current dummy edge.
|
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedNodeSnapLines()
The collection of
OrthogonalSnapLine s for fixed nodes. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedNodeSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedNodeSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedPortSnapLines()
The collection of
OrthogonalSnapLine s to which ports should be snapping. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedPortSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedPortSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedSegmentSnapLines()
The collection of
OrthogonalSnapLine s for fixed segments. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedSegmentSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedSegmentSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
Modifier and Type | Method and Description |
---|---|
void |
CollectGraphSnapLinesEventArgs.addAdditionalSnapLine(OrthogonalSnapLine snapLine)
Adds a snap line all elements will snap to.
|
void |
CollectGraphSnapLinesEventArgs.addFixedNodeSnapLine(OrthogonalSnapLine snapLine)
Adds a snap line for nodes.
|
void |
CollectGraphSnapLinesEventArgs.addFixedSegmentSnapLine(OrthogonalSnapLine snapLine)
Adds a snap line for edge segments and bends.
|
void |
CollectGraphSnapLinesEventArgs.addPortSnapLine(OrthogonalSnapLine snapLine)
Adds a snap line for ports.
|
void |
CollectLabelSnapLineEventArgs.addSnapLine(OrthogonalSnapLine snapLine)
Adds the given snap line to the snap line collection of this class.
|
protected void |
NodeReshapeSnapResultProvider.addSnaplineSnapResult(GraphSnapContext context,
CollectSnapResultsEventArgs args,
INode node,
OrthogonalSnapLine snapLine,
double delta,
PointD snapPoint)
Adds a snap result for a location that snaps the node's bounds to a snap line.
|
protected void |
NodeSnapResultProvider.collectSnapResults(CollectSnapResultsEventArgs args,
OrthogonalSnapLine snapLine,
RectD suggestedLayout,
INode node)
Verifies whether the node will snap to the given snap line.
|