The naive algorithm is now visualized on the graph. Cycles and full routes should be marked but are not in this version.
Undid all the shit that WebStorm did on the last commit. And made the 2d context a field in the GraphPainter class.