Add upload entries to the file menu. Cannot use the simpler default menu creation method because file upload only works with an input.
the graph instance to load into
the parent element of the menu
the file menu in the form of anchor elements that get styled by CSS
Add upload entries to the file menu. Cannot use the simpler default menu creation method because file upload only works with an input.