This command enables and disables (toggles) the visibility of the lines that connect a system to its neighbours and those that divide the map into cells.
tweakergui draw.neighbors