Search
Grid Alignment and Object Snapping

FlowChartX provides an alignment grid to help users place diagram objects more precisely. To activate the grid set the AlignToGrid property to true. If the grid is active while an object is being created or modified, the object's control-points are drawn on the nearest grid points. The distance between adjacent grid points is specified via the GridSize property. The grid can be either visible or invisible, depending on whether ShowGrid is true or false. If visible, the grid is painted as a matrix of points or as series of crossing lines, as specified via the GridStyle property. GridColor defines the color with which the alignment points or lines are painted.

In the professional edition of FlowChartX, it is also possible to enable snapping mode. In that mode an object being modified is aligned to other diagram objects. The manner in which objects are aligned to each other is specified via SnapStyle. Supported snap styles include: aligning items' control points; snapping nodes side-to side; or making nodes' borders collinear via alignment guides. The maximal distance between objects at which snapping can be performed is set via SnapDistance.