Layouts can show their boundaries and other visual debugging information when they render. Set layoutDebug to true in d2core/d2gui/layout.go to enable this behavior.
layoutDebug
true
d2core/d2gui/layout.go