graph.js: introducing interface changes

Constructor will now take a name argument. Graph will be wrapped in a div
element which will display the name.