Function addFileLoadEntries

  • Add upload entries to the file menu. Cannot use the simpler default menu creation method because file upload only works with an input.

    Parameters

    • graph: Graph

      the graph instance to load into

    • parent: HTMLElement

      the parent element of the menu

    • as: HTMLAnchorElement[]

      the file menu in the form of anchor elements that get styled by CSS

    Returns void