When you click on the map with a flag or barrier tool, a spatial query is performed to find all of the network features in the vicinity of where you clicked. The SnapTolerance property is used to determine the extents of this spatial query. By default the snapping tolerance used is 10 pixels.