The Show Snap Lines command allows you to toggle this common diagram behavior directly from the ribbon (it can also be set via the User Preferences).
This setting controls whether blue lines are displayed on screen when nodes align with other nodes or even spacing is achieved to assist with positioning nodes and aligning diagram content.