snap: impelement anchor snapping
demo/snap: Add an interactive anchor visualization