---
layout: example.html
title: Snap Interaction
shortdesc: Example of using the snap interaction together with draw and modify interactions.
docs: >
Example of using the snap interaction together with
draw and modify interactions. The snap interaction must be added
last, as it needs to be the first to handle the
pointermove
event.
edge: true
) and vertices (vertex: true
).
It can also be configured to snap to intersections between edges, which is done here with the
intersection: true
option.
tags: "draw, edit, modify, vector, snap"
---
Snapped: false