Added a red border for selected nodes.