Git Product home page Git Product logo

Comments (1)

lattmann avatar lattmann commented on June 15, 2024

Url encoding of the state

  • project: project name
  • branch: branch name
  • commit: commit hash, used if branch is not given
  • node: object to load in the visualizer
  • visualizer: visualizer name to open
  • aspect: aspect name in the visualizer if applicable
  • selection: comma separated list of selected object (node) ids

Notes

Url may exceeds the maximum length limit. In the future we should be able to generate short urls and save it on server side. Server will server the state information then.

Caveats

the back/forward button (history) never followed user navigation and events in visualizers, except in the ModelEditor (a.k.a. composition view)

Only the model editor works for the visualizer and aspect settings

Example urls

  • /?project=test1&branch=master&node=&visualizer=ModelEditor&aspect=All
  • /?project=test1&commit=<commit_hash>&visualizer=ModelEditor&aspect=All
  • /?project=test1&branch=master&node=&visualizer=ModelEditor&aspect=Aspect2
  • /?project=test1&branch=master&node=&visualizer=METAAspect
  • /?project=test1&visualizer=ModelEditor&aspect=All&selection=%2F1801445538,%2F325565474

Testing

  • no project is given
  • given project does not exist
  • no branch name is given
  • branch does not exist
  • node does not exist
  • commit does not exist
  • visualizer does not exist
  • aspect does not exist
  • selection contains nodes that do not exist

from webgme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.