A simple D3 force-directed layout with random nodes and edges