Refactor graph library to be same style as other libraries.
Move positioning logic inside the graph library.
Refactor display.js to be more self-sufficient and functional.

The display functions now simply act on inputs of svgContainer and graph or link data.
Remove hard-coded links to external course/diagram files.
Abstract the svgUrl endpoint.