ConnectedNodes class

Answers the following questions:
- Does a line intersect with the graph?
- What nodes are connected to the graph?