Dijkstra Algorithm view (Node, Edges)

The fact that you don’t know the answer tells me that you are not experienced at designing classes. Not to worry we all have to start somewhere.

The Node and Edge constructors will never be used to draw anything

The Node and Edge constructors will never be used to process mouse input

2 Likes