To add neighbors, click the "Neighbors" button on the bottom panel.
You can add up to 300 neighbors. Incoming and outgoing neighbor requests are also counted towards the limit, so if you suddenly can't add more neighbors, check these sections and clean them up.
To delete a neighbor, click their avatar and choose "Remove from neighbors".
To delete a neighbor, click their avatar and choose "Remove from neighbors".