This demo shows how to enable snapping for interactively modified items to snap lines. This support is provided through class GraphSnapContext and its support classes.

Sample Files:

View Source

How to run this sample

  • If you have installed the yFiles for Silverlight programming samples, just run "15 Snapping" in the "01 Getting Started" solution (also available as a start menu entry). Otherwise, please install the yFiles for Silverlight programming samples from the start menu.