I am studying the grapheditor example under mxgraph's javascript https://github.com/jgraph/mxgraph/tree/master/javascript/examples/grapheditor
However, I notice there are two parts. There's a javascript/HTML portion in the www folder. And there's a java portion.
I am a bit rusty from my Java, so I cannot be sure what the Java code is responsible for.
Does the Javascript and HTML portion be totally responsible for the UI/UX display of the GraphEditor example?
Meaning to say things like displaying the action menu and drag and drop etc are handled by the javascript and html portion?
So what's the Java code responsible for exactly?