Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support very large graph definitions #48

@jodigiordano

Description

@jodigiordano

Currently, for anonymous users, the graph definition is stored in...

  • The URL fragment, for easy sharing. The maximum storage size depends on the browser. Let's say 2 MB.
  • The local storage, in case the browser is closed and the URL fragment is lost. The maximum storage size is 5 - 10 MB.
  • Local file, when the user saves the file on disk. The maximum storage size is A LOT MB.

If we want to start supporting storing images, fonts, etc. in the graph definition, we must find a better way to support anonymous users.

For example:

  • Use IndexedDB when possible, which has a greater limit than local storage, but again depends on the browser.
  • Warn the user that after a certain size limit, the URL fragment cannot be used anymore... or the local storage... or IndexedDB... etc.
  • Warn the user that exporting after a certain size limit (ex: iframe) cannot be used anymore.
  • Anonymous sharing of large graph definitions could be done using e2e encryption + gg+ server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions