BUG FIX: When nodes are too close, some resources do not get any lines. Removed error due to empty list.