blockly > BlockSvg > bumpNeighbours

BlockSvg.bumpNeighbours() method

Bumps unconnected blocks out of alignment.

Two blocks which aren't actually connected should not coincidentally line up on screen, because that creates confusion for end-users.

Signature:

bumpNeighbours(): void;

Returns:

void