The dots to go with a notehead or rest.direction sets the preferred direction to move in case of staff line collisions.
direction (direction)dot-count (integer)This grob interface is used in the following graphical objects: Dots
This page is for LilyPond-2.6.6 (stable-branch).