Blockly. config
All the values that we expect developers to be able to change before injecting Blockly. Changing these values during run time is not generally recommended.
Properties
bumpDelay
Delay in ms between trigger and bumping unconnected block out of alignment.
connectingSnapRadius
Maximum misalignment between connections for them to snap together. This should be the same as the snap radius.
currentConnectionPreference
How much to prefer staying connected to the current connection over moving to a new connection. The current previewed connection is considered to be this much closer to the matching connection on the block than it actually is.
dragRadius
Number of pixels the mouse must move before a drag starts.
flyoutDragRadius
Number of pixels the mouse must move before a drag/scroll starts from the flyout. Because the drag-intention is determined when this is reached, it is larger than dragRadius so that the drag-direction is clearer.
snapRadius
Maximum misalignment between connections for them to snap together.